Skip to main content
Glama

grant_changes_since

Read-onlyIdempotent

Retrieve detected grant changes since a given ISO date from the local snapshot database, optionally filtered by watch, to review new awards and amount changes.

Instructions

Detected grant changes (new_award, award_amount_change, ...) since an ISO date. Reads the local snapshot DB only (no network call); changes exist only after snapshot_grants has run at least twice for a watch. Returns a list of change records {watch, key, kind, field, old, new, title, url, detected_at, run_id}, oldest first; an empty list means no changes were stored since that date. Create or refresh the watch with snapshot_grants.

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": {
      "since": "<since>"
    },
    "name": "grant_changes_since"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceYesOnly changes detected on or after this date (YYYY-MM-DD).
watchNoOnly changes from this watch name (as given to the matching snapshot_* tool). Omit for all watches.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.1
    • addedInput schema / properties / since / description
      Added value: +"Only changes detected on or after this date (YYYY-MM-DD)."
    • addedInput schema / properties / watch / description
      Added value: +"Only changes from this watch name (as given to the matching snapshot_* tool). Omit for all watches."
  2. First observedv0.3.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, but the description adds genuinely new behavior: no network call, the two-run precondition for any change to exist, oldest-first ordering, and the meaning of an empty list. These are the facts an agent needs to interpret a null result correctly rather than assuming failure.

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

Conciseness4/5

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

Four sentences, front-loaded with the purpose, then constraints, then return shape, then the follow-up action — a sensible order with little filler. The one wasteful piece is the inline enumeration of returned record fields, which duplicates the supplied output schema.

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

Completeness5/5

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

For a two-parameter, read-only, closed-world tool with full schema coverage, annotations and an output schema, the description covers everything left: the preconditions, the absence of network calls, ordering, and empty-result semantics. An agent can call this correctly and interpret the response without further information.

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 both `since` (YYYY-MM-DD) and `watch` (omit for all watches) are already fully documented in the schema. The description only restates "since an ISO date" and adds no format or scoping detail beyond it, so the baseline 3 applies.

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?

States a specific verb+resource ("Detected grant changes since an ISO date") and enumerates the change kinds (new_award, award_amount_change, ...), which distinguishes it from search_grants and snapshot_grants in the sibling list. An agent can tell immediately that this is a change-feed reader, not a search or snapshot writer.

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 names the prerequisite ("changes exist only after snapshot_grants has run at least twice for a watch") and routes the agent to the sibling that creates the watch ("Create or refresh the watch with snapshot_grants"). It also rules out the network path ("Reads the local snapshot DB only"), leaving no ambiguity about when this tool applies.

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