Skip to main content
Glama

Get packet schema

get_packet_schema
Read-onlyIdempotent

Takes the filing session's continuationHandle. Returns the packet schema a completed return packet is checked against (the packet holds no Social Security number, ITIN or PIN: the taxpayer types those on the filing page): requestPacketSchema=true returns the schema digest (packetSchemaSha256, sent with the completed packet), an outline whose larger parts are named sections, the section list and the packetStarterTemplates list; packetSchemaSection= returns one section and packetStarterTemplate= one complete starter packet, in which each taxpayer-specific value is the placeholder REPLACE_WITH_TAXPAYER_VALUE, refused by path until replaced, with its askTheTaxpayer messages (the questions for the taxpayer) and each preset answer listed in presets with how it is settled. Read-only: no tax facts are sent here and no return is written. The tax year is return.taxYear=2025 inside the packet, not a tool argument; any other argument is refused by name.

Input Schema

NameRequiredDescriptionDefault
continuationHandleNo
packetSchemaSectionNoOne section of the packet schema, by a name from packetSchemaSections. Returns that section's members exactly as they sit in the full schema, where the outline shows {"x-section":"<name>"}, with the section's own sha256.
requestPacketSchemaNoReturns the packet schema outline, its section list and digest, and the starter-template list; no tax facts are sent and no return is written.
packetStarterTemplateNoOne complete starter packet, by an id from packetStarterTemplates.templates, with its askTheTaxpayer messages and its presets.

Output Schema

NameRequiredDescriptionDefault
blockersNo
packetSchemaSha256NoSHA-256 of the compact JSON serialization of the FULL packet schema: the outline with every section's members put back in place of its marker.
packetSchemaOutlineNoThe packet JSON Schema with each sectioned member replaced by {"x-section":"<section name>"}.
packetSchemaSectionNoOne section: name, covers, parentPointer (JSON Pointer of the properties object its members belong to), sha256 and members.
packetSchemaSectionsNoEvery schema section left out of the outline: name, what it covers and its size in characters; the section's sha256 comes with the section.
packetSchemaRetrievalNo
packetStarterTemplateNoOne starter template: id, shape, askTheTaxpayer, packet and presets.
packetStarterTemplatesNoHow to use a starter template, the presets every template carries, and the list of templates; a template's packet comes back with packetStarterTemplate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"479843a3601eb03666dd41d05adc06d3ba0aa3e637ec279078aceb63d6a1ee2b"New value: +"34c2ce7e97cbec6df34f25178711020da3901c795f9b75f9f88401ea28ffba52"
  2. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"7104f06daf589121a1be2c5cc87371346a0b8ccfaf724c15161eabfa7d897206"New value: +"479843a3601eb03666dd41d05adc06d3ba0aa3e637ec279078aceb63d6a1ee2b"
  3. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"152387020477190adcc83d7ccd0554d5c95bf41db02f8800171419e7ae67f449"New value: +"7104f06daf589121a1be2c5cc87371346a0b8ccfaf724c15161eabfa7d897206"
  4. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"d86b91d5a6b48d7442799ced5fb6f85b51a47eb1321f168c663c5140c2431d55"New value: +"152387020477190adcc83d7ccd0554d5c95bf41db02f8800171419e7ae67f449"
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/destructive=false, so safety is covered, yet the description adds meaningful context: no tax facts are sent, no return is written, PII (SSN/ITIN/PIN) is deliberately absent and typed by the taxpayer, placeholders are refused by path until replaced, and unknown arguments are rejected by name. These are error-behavior and data-handling facts not derivable from the annotations or schema.

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

Conciseness3/5

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

Almost every clause carries information, so there is little padding, but the text is a single sprawling construction stitched together with colons and parentheses, which makes the three modes hard to scan. It is front-loaded only weakly, starting with continuationHandle rather than the purpose or the mode switch.

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 present, return values need not be described, yet the description covers them plus PII handling, placeholder refusal, tax-year location, and rejection of extraneous arguments. The mutual exclusivity of the three modes is enforced by the oneOf schema but only implied in prose, which is the one small gap.

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?

With 75% schema coverage the baseline is 3, and the description goes beyond it by explaining what each mode returns (outline shape {"x-section":"<name>"}, section-level sha256, presets and askTheTaxpayer messages, REPLACE_WITH_TAXPAYER_VALUE refusal semantics). It adds little about continuationHandle itself beyond naming it as the filing session handle, which keeps it below a 5.

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 uses a specific verb and resource ('Returns the packet schema a completed return packet is checked against') and enumerates the three retrieval modes, so an agent knows exactly what it gets. It does not distinguish itself from the siblings (create_filing_session, continue_filing_session), though their names suggest session mutation versus schema retrieval, making confusion unlikely.

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?

Mode selection is spelled out: requestPacketSchema=true for the digest/outline/section list, packetSchemaSection=<name> for one section, packetStarterTemplate=<id> for one starter packet. It also states what is not accepted ('any other argument is refused by name' and the tax year is not a tool argument), covering the when-not side. There is no explicit comparison to alternatives, but no real alternative exists among the siblings.

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.