Skip to main content
Glama

github_issues_approve_suggestion

Approve a suggestion on a GitHub issue by specifying owner, repository, issue number, and suggestion ID to accept proposed changes directly.

Instructions

Approve an issue suggestion

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "issue_number": "<issue_number>",
      "suggestion_id": "<suggestion_id>"
    },
    "name": "github_issues_approve_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
issue_numberYesissue_number
suggestion_idYessuggestion_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations supply readOnlyHint=false and openWorldHint=true, so the agent knows this mutates external state, but the description adds nothing beyond that: it does not say whether approval is reversible, whether it notifies anyone, whether it requires write/admin permission, or what happens to the suggestion afterward. For a state-changing approval action, that is a substantial disclosure gap.

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

Conciseness3/5

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

The single sentence is efficient and front-loaded with the action, so nothing is wasted, but brevity here comes from under-specification rather than disciplined editing. There is no structure to speak of beyond the one clause.

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

Completeness2/5

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

For a four-required-parameter mutation with no output schema and open-world behavior, an agent needs to know the effect, the prerequisites, and the result. The description covers none of these, so the definition is not complete enough to invoke the tool confidently.

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

Parameters2/5

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

Schema coverage is nominally 100%, but each property's description merely repeats its name ('repo' → 'repo', 'suggestion_id' → 'suggestion_id'), so the schema conveys no real semantics. The description does nothing to compensate — it never explains what a suggestion_id is, where to obtain one, or how issue_number relates to it.

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

Purpose3/5

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

The description states a verb (approve) and a resource (issue suggestion), but 'suggestion' is never defined and the effect of approving — what state changes, on what object — is left to the agent's inference. It also makes no attempt to distinguish itself from the sibling github_issues_dismiss_suggestion, which takes the same object and the opposite action.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., permissions required to approve), and no mention of the dismiss alternative or the conditions under which approving rather than dismissing is correct. The agent must guess entirely from the tool name.

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

Deploy Server

Other Tools