Skip to main content
Glama

Get Granule

get_granule
Read-onlyIdempotent

Fetch summary metadata for a single granule (sub-unit) within a GovInfo package, given package_id and granule_id (both from list_granules). Returns title, class, and provenance fields from the GovInfo summary endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
granule_idYesGranule ID
package_idYesGovInfo packageId

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "granule_id": "2024-05-12-1",
      +    "package_id": "FR-2024-05-12"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Granule metadata for sub-unit within package",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable context beyond annotations by naming the 'GovInfo summary endpoint' and listing the returned fields ('title, class, and provenance'), which helps the agent set expectations without over-explaining.

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?

The description is two sentences, front-loaded with the main action and scope, then efficiently details the inputs and return fields. No wasted words; every sentence contributes.

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?

This is a simple read-only tool with an output schema and strong annotations. The description covers the purpose, input provenance, and return fields, and no additional context (e.g., error behavior, rate limits) is necessary for correct agent usage.

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

Parameters4/5

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

The schema covers 100% of parameters with basic descriptions ('Granule ID', 'GovInfo packageId'), but the description adds meaningful context by stating both are 'from list_granules', clarifying where the agent should obtain these IDs. This enriches the bare schema info.

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 uses a specific verb ('Fetch') and resource ('summary metadata for a single granule within a GovInfo package'), clearly distinguishing it from sibling tools like get_package or list_granules. It also specifies the return fields ('title, class, and provenance'), making the scope unambiguous.

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?

The description explains that both package_id and granule_id should come from list_granules, establishing a clear workflow and context for when this tool should be used. It does not explicitly state when not to use it, but this is a minor gap since the workflow guidance is sufficient.

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.