Skip to main content
Glama

Federal Grant Evidence

Compare a grant's revisions

compare_grant_amendments

Use this when the user needs to know what changed between revisions of a U.S. federal grant opportunity — deadlines, cost share, eligibility, funding — with the before and after value for each change and how much it matters. It reads the official revision history and reports what Grants.gov itself declared changed alongside the computed difference. It does not read announcement documents, assess eligibility, predict an award, draft, or submit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opportunity_idYesOfficial Grants.gov opportunity ID, for example 332894
since_revisionNoOptional; compare only revisions after this one.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes
detailNo
changesNo
opportunity_idYes
pairs_comparedNo
pairs_observedNo
current_revisionYes
pairs_unavailableNo
unavailable_pairsNo
worst_materialityNo
revisions_observedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) are sparse and do not conflict. The description adds valuable behavioral context: it 'reads the official revision history' and reports 'what Grants.gov itself declared changed' alongside computed differences, and explicitly lists what it does not do. This goes beyond the annotations to clarify the tool's data source and limitations.

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 well-structured sentences: the first clearly explains the purpose and output, the second lists explicit exclusions. It is front-loaded and contains zero redundant wording, making it easy for an agent to parse quickly.

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?

Given an output schema exists (has_output_schema=true) and only two parameters are involved, the description sufficiently covers the tool's scope and limitations. It mentions it is for U.S. federal grants and specifies what it reports, which is enough for correct invocation. A minor gap is not explaining how 'since_revision' affects behavior, but the schema covers that.

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?

The input schema fully documents both parameters (opportunity_id and since_revision) with descriptions and constraints, so schema coverage is 100%. The description does not add extra parameter-level meaning beyond what the schema already provides, so a baseline score of 3 is appropriate.

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

Purpose5/5

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

The description states a specific verb ('compare'), a resource ('revisions of a U.S. federal grant opportunity'), and enumerates the exact kinds of changes covered (deadlines, cost share, eligibility, funding). It also clarifies it reports before/after values and significance, which distinguishes it from siblings like analyze_federal_grant or get_grant_document_manifest.

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

Usage Guidelines5/5

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

Explicitly states when to use ('when the user needs to know what changed between revisions') and provides clear exclusions ('does not read announcement documents, assess eligibility, predict an award, draft, or submit'). This effectively routes the agent away from sibling tools that handle those functions.

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.