Skip to content

Conversation

@AzemaBaptiste
Copy link
Member

@AzemaBaptiste AzemaBaptiste commented May 12, 2025

  • fix doc usage SIFFLET_URL -> SIFFLET_BACKEND_URL
  • review each tool and improve the description to help the LLM
  • upgrade libs and sifflet-mcp version
  • drop unnecessary chainlit translation files

@AzemaBaptiste AzemaBaptiste changed the title Review readme and Review readme and improve each tool's description May 12, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves documentation for each tool, upgrades dependency versions, and removes unnecessary translation files.

  • Updates tool descriptions and renames functions for clarity
  • Upgrades dependency versions and bumps package version in pyproject.toml
  • Removes extraneous Chainlit translation files

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

File Description
src/sifflet_mcp/server.py Updated tool descriptions, renamed parameters/functions, and added type annotations; improved JSON serializability in downstream assets.
pyproject.toml Bumped package version and upgraded dependency versions.
README.md Revised documentation to reflect SIFFLET_BACKEND_URL usage.
.chainlit/translations/* Removed unnecessary translation files as requested.
Comments suppressed due to low confidence (1)

src/sifflet_mcp/server.py:113

  • The parameter was renamed from 'owners' to 'owners_email' for clarity; please ensure that the list comprehension using this parameter is updated consistently in the code.
    owners_email: List[str],

# Monitor as code
@mcp.tool("get_monitor_code_by_description")
@mcp.tool(
"get_monitor_code_by_description",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wondering whether it should be a "get" or "create". Get implies that we get something from the database but it's not the case. "create" implies that we create something in the db, not the case either.

@AzemaBaptiste AzemaBaptiste merged commit 9ea4475 into main May 13, 2025
1 check passed
@AzemaBaptiste AzemaBaptiste deleted the improve-doc-fix-setup branch May 13, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants