Skip to main content
Glama
BenItBuhner

Cursor Cloud MCP

by BenItBuhner

get_pr_diff

Retrieve pull request file diffs using its URL to review changed files and inspect modifications before merging or commenting.

Instructions

Extended: PR file diffs (SCMService/GetPullRequestDiff).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prUrlYesPR URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state that this is a read-only operation, whether any permissions or scopes are required, what happens with large diffs, or whether pagination applies; only the resource name weakly implies retrieval.

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

Conciseness2/5

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

The description is extremely short, but it is a sentence fragment rather than a well-structured summary. The leading 'Extended:' label is undefined, and the SCMService method reference consumes space without helping an agent select or invoke the tool.

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 simple one-parameter tool with no output schema or annotations, the description is too thin. It says what resource is involved but leaves out usage context, return shape, and behavioral expectations that an agent needs when deciding between this and related PR/diff tools.

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 the single prUrl parameter is documented in the schema as 'PR URL'. The description adds no further meaning beyond that, so the baseline of 3 applies when the schema already does the parameter documentation.

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 identifies PR file diffs, which is a specific resource, but it never states the operation as a clear verb and adds no sibling differentiation. Siblings like get_diff_details and get_pr are equally plausible for various diff/PR needs, and 'Extended:' plus the SCMService parenthetical do not help an agent distinguish this tool.

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?

The description offers no when-to-use guidance, no prerequisites, and no alternatives. An agent cannot tell from the text when to call get_pr_diff instead of get_diff_details, get_pr, or get_pr_status.

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