Skip to main content
Glama

Behind the Tax Data

Immutable rule packages

get_package
Read-onlyIdempotent

Rule packages: immutable, fingerprinted snapshots of every published value of a scope ("us-federal", "us-states"). The same package always gives the same figures, so a calculation can pin one. Without name or sha256, lists the packages (optionally one scope). With one, returns the manifest entry and the package entries, filtered by key_prefix and paginated.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPackage name, e.g. "us-federal@2026-11-21.4".
limitNo
scopeNoLimit the list to one scope; with `latest`, pick its newest package.
latestNoReturn the newest package of `scope`.
offsetNo
sha256NoPackage fingerprint (SHA-256 of its canonical JSON).
key_prefixNoOnly entries whose rule key starts with this, e.g. "fed.hsa".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: packages are immutable, content-addressed snapshots that guarantee reproducible figures and can be pinned by a calculation. It does not mention list-size limits or what hashing guarantees mean for verification, but the core trait is well disclosed.

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?

Three sentences, front-loaded with what a package is, then the determinism rationale, then the list-vs-fetch branching. No filler and no restatement of the title.

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 seven optional parameters, no output schema, and a 71%-documented schema, the description plausibly covers both execution modes and the filtering behavior an agent needs. Edge cases such as `latest` without `scope`, or combining `latest` with `name`, are inferred rather than stated.

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 a solid 71%, and the description still contributes meaning the schema cannot: the mutual exclusivity/priority of `name` and `sha256` as the mode switch, and that `key_prefix` filters the returned entries only in single-package mode. `limit`/`offset` are left to the schema as generic pagination with defaults.

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?

Names the resource precisely (immutable, fingerprinted rule packages scoped to 'us-federal'/'us-states') and states plainly that the tool both lists packages and fetches a single one. The dual-mode nature is unambiguous, though it never distinguishes itself from the rule-level siblings like get_rule or what_changed.

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?

Gives a clear selection rule: omit `name`/`sha256` to list, supply one to fetch a single package. The optional `scope` narrowing and `key_prefix`/pagination filtering are stated as refinements. It stops short of naming when an agent should prefer get_rule or what_changed instead.

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.

Resources