Skip to main content
Glama

Govinfo Get Package

govinfo_get_package
Read-onlyIdempotent

Metadata for a single package by packageId (e.g., "BILLS-118hr1234ih", "FR-2024-05-12"). Returns title, dates, citations, granule count, download links (PDF/XML/MODS).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package_id": "BILLS-118hr1234ih"
    },
    "name": "govinfo_get_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
package_idYesGovInfo packageId

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered. The description adds a useful unpacking of the returned fields, but an output schema exists, so that partly duplicates structured data rather than adding behavioral context such as error behavior for unknown packageIds.

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 with zero filler; the identifying verb and resource lead, followed by the return-value summary. Nothing needs trimming.

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 an output schema, full annotation coverage, and a single fully documented parameter, the description is nearly self-sufficient. It is only short of completeness in not distinguishing itself explicitly from the granule-level siblings.

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?

Schema coverage is 100% and the single parameter is already documented, so the baseline is 3. The description earns an extra point by giving two concrete packageId formats ("BILLS-118hr1234ih", "FR-2024-05-12"), which teaches the identifier convention the schema only labels generically as "GovInfo packageId".

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?

The description states a specific verb and resource ("Metadata for a single package by packageId") and enumerates what the metadata contains (title, dates, citations, granule count, download links). This clearly contrasts with the plural/list siblings like list_granules and govinfo_search_packages, though it never names them explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the singular-resource framing and the example IDs, which suggest this is the lookup-by-identifier tool rather than a search tool. However, there is no explicit instruction on when to prefer this over get_granule or govinfo_search_packages, leaving the agent to infer the boundary.

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.