Skip to main content
Glama

get_github_change

Read-onlyIdempotent

The full picture of one pull request: description, commits and the most telling parts of the diff. Use it to explain in plain language what changed for a user, or before writing a post about it.

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>",
      "prNumber": "<prNumber>"
    },
    "name": "get_github_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesFull repo name, owner/name, exactly as list_github_repos returns it.
prNumberYesPull request number from list_github_changes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / prNumber / description
      Added value: +"Pull request number from list_github_changes."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description does add one meaningful trait beyond that — that only 'the most telling parts of the diff' are returned, i.e. a truncated view — but it says nothing about size limits, pagination, or failure modes for a bad repo/PR combination.

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, zero filler: the first front-loads what is returned, the second front-loads when to reach for it. Nothing is repeated from the schema or annotations.

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

Completeness4/5

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

With no output schema, the description carries the return-value burden and does so at a high level by naming the three content blocks the agent will get. For a two-parameter read tool with full annotation coverage, that is nearly sufficient; only the diff truncation boundary is left implicit.

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% and both parameters carry their own descriptions, including where the values come from (list_github_repos, list_github_changes). The description adds no further meaning about the parameters, so the baseline 3 applies.

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?

States a specific verb and resource ('The full picture of one pull request') and enumerates the payload: description, commits, and parts of the diff. That distinguishes it from a listing tool like list_github_changes, though the description never names the alternative 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?

Gives concrete use cases ('explain in plain language what changed for a user, or before writing a post about it'), which tells the agent when this detail fetch is warranted over a simple list. It stops short of stating exclusions or naming the cheaper alternative for a quick scan.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources