Skip to main content
Glama
GitHub MCP Server

GitHub MCP Server

add_comment_to_issue

Adds a Markdown comment to an existing GitHub issue by owner, repository, and issue number so users can respond or leave notes in issue threads.

Instructions

Agrega un comentario a un issue existente de un repositorio de GitHub. Úsalo cuando el usuario pida comentar, responder o dejar una nota en un issue.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo": "<repo>",
      "issueNumber": "<issueNumber>",
      "body": "<body>"
    },
    "name": "add_comment_to_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesTexto del comentario (acepta Markdown)
repoYesNombre del repositorio
ownerNoUsuario u organización dueña del repositorio. Si se omite, se usa el usuario autenticado
issueNumberYesNúmero del issue a comentar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It conveys only the precondition that the issue must already exist; it says nothing about posting identity (the comment is authored by the authenticated user unless stated), required permissions/scopes, rate limits, or whether the comment can be edited or removed afterward.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero filler: the action and scope come first, the triggering intents second. Nothing is repeated or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple four-parameter additive tool with full schema coverage and no output schema, the essentials are present, but the absence of annotations leaves auth/permission and failure-mode context entirely undelivered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds only "issue existente", which hints at issueNumber's precondition but does not explain owner defaulting, repo syntax, or Markdown support beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Agrega un comentario a un issue existente de un repositorio de GitHub" gives a specific verb (agregar comentario) plus resource (issue existente en repo GitHub), and the word "existente" rules out creating containers. It is clearly distinct from siblings like create_issue or close_issue, though it never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Úsalo cuando el usuario pida comentar, responder o dejar una nota en un issue" gives concrete trigger intents, which is stronger than most definitions. It stops short of exclusions (e.g., don't use for creating issues, don't use for PR comments) or naming alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.