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. Changed2 schema fields changed
    • changedInput schema / properties / packetSchemaSection / enum
      Previous value: -[
      -  "agent-identity",
      -  "people",
      -  "wages-retirement-benefits",
      -  "investments",
      -  "other-income-deductions-payments",
      -  "business",
      -  "rental-farm",
      -  "farm-rental",
      -  "additional-businesses",
      -  "partnership-k1",
      -  "partnership-k1-treatment",
      -  "s-corporation-k1",
      -  "s-corporation-k1-treatment",
      -  "choices-required",
      -  "choices-schedule-1a",
      -  "choices-family-education",
      -  "choices-health-retirement",
      -  "choices-premium-tax-credit",
      -  "choices-energy-vehicle",
      -  "choices-less-common",
      -  "choices-less-common-forms",
      -  "choices-foreign-income",
      -  "choices-foreign-assets",
      -  "choices-unbuilt-situations",
      -  "federal-documents",
      -  "form-1040ss",
      -  "form-1040ss-business-property",
      -  "form-1040nr"
      -]New value: +[
      +  "agent-identity",
      +  "agent-identity-return-details",
      +  "people",
      +  "wages-retirement-benefits",
      +  "investments",
      +  "other-income-deductions-payments",
      +  "business",
      +  "rental-farm",
      +  "farm-rental",
      +  "additional-businesses",
      +  "partnership-k1",
      +  "partnership-k1-treatment",
      +  "s-corporation-k1",
      +  "s-corporation-k1-treatment",
      +  "choices-required",
      +  "choices-schedule-1a",
      +  "choices-family-education",
      +  "choices-health-retirement",
      +  "choices-premium-tax-credit",
      +  "choices-energy-vehicle",
      +  "choices-less-common",
      +  "choices-less-common-forms",
      +  "choices-foreign-income",
      +  "choices-foreign-assets",
      +  "choices-unbuilt-situations",
      +  "federal-documents",
      +  "form-1040ss",
      +  "form-1040ss-business-property",
      +  "form-1040nr"
      +]
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"f0f6a42bc08f046508a51411e8057f171d1a94139735d1c9a86028fdf4cc468e"New value: +"38a8c33ed90219458ded7d8dfe97d9e22450969fbd51c0efabc9bfeee52cff6d"
  2. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"a8a69827f29338bf13ded8a1fdb3834c4fa774806456ae561bf8654c31cc6e0e"New value: +"f0f6a42bc08f046508a51411e8057f171d1a94139735d1c9a86028fdf4cc468e"
  3. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"c65241eaa9d4eda663981372a5e6d6507f010c140f17a189026210d81d014eb6"New value: +"a8a69827f29338bf13ded8a1fdb3834c4fa774806456ae561bf8654c31cc6e0e"
  4. Changed2 schema fields changed
    • changedInput schema / properties / packetSchemaSection / enum
      Previous value: -[
      -  "agent-identity",
      -  "people",
      -  "wages-retirement-benefits",
      -  "investments",
      -  "other-income-deductions-payments",
      -  "business",
      -  "rental-farm",
      -  "farm-rental",
      -  "additional-businesses",
      -  "partnership-k1",
      -  "partnership-k1-treatment",
      -  "s-corporation-k1",
      -  "s-corporation-k1-treatment",
      -  "choices-required",
      -  "choices-family-education",
      -  "choices-health-retirement",
      -  "choices-premium-tax-credit",
      -  "choices-energy-vehicle",
      -  "choices-less-common",
      -  "choices-foreign-income",
      -  "choices-foreign-assets",
      -  "choices-unbuilt-situations",
      -  "federal-documents",
      -  "form-1040ss",
      -  "form-1040ss-business-property",
      -  "form-1040nr"
      -]New value: +[
      +  "agent-identity",
      +  "people",
      +  "wages-retirement-benefits",
      +  "investments",
      +  "other-income-deductions-payments",
      +  "business",
      +  "rental-farm",
      +  "farm-rental",
      +  "additional-businesses",
      +  "partnership-k1",
      +  "partnership-k1-treatment",
      +  "s-corporation-k1",
      +  "s-corporation-k1-treatment",
      +  "choices-required",
      +  "choices-schedule-1a",
      +  "choices-family-education",
      +  "choices-health-retirement",
      +  "choices-premium-tax-credit",
      +  "choices-energy-vehicle",
      +  "choices-less-common",
      +  "choices-less-common-forms",
      +  "choices-foreign-income",
      +  "choices-foreign-assets",
      +  "choices-unbuilt-situations",
      +  "federal-documents",
      +  "form-1040ss",
      +  "form-1040ss-business-property",
      +  "form-1040nr"
      +]
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"655c0a949f86c832a2a30f34d163bbfd21c05a5b8fdb279725f2220ecbbdf1b4"New value: +"c65241eaa9d4eda663981372a5e6d6507f010c140f17a189026210d81d014eb6"
  5. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"ce115adb2a93f2aac07c87f363e64fa72b5b6d1f4f6e767e2ed1f3accfa91543"New value: +"655c0a949f86c832a2a30f34d163bbfd21c05a5b8fdb279725f2220ecbbdf1b4"
  6. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"917da68ba494a47fbdd27014e645ca65895c1f9019e53f02aa9b76ad386d5121"New value: +"ce115adb2a93f2aac07c87f363e64fa72b5b6d1f4f6e767e2ed1f3accfa91543"
  7. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"f796ded612727b5ea0e90fcaf15b8db7561eaf39edc091330346a9df477f1a69"New value: +"917da68ba494a47fbdd27014e645ca65895c1f9019e53f02aa9b76ad386d5121"
  8. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"13b1cddcde7da8201f9a30a9b1635d0288935cfa4f008eb76a0c282ff1b52d27"New value: +"f796ded612727b5ea0e90fcaf15b8db7561eaf39edc091330346a9df477f1a69"
  9. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"27c7c3e05380ccc3084cbd64036cb677c76aaa9691ceccc0af2646641cc4ccf4"New value: +"13b1cddcde7da8201f9a30a9b1635d0288935cfa4f008eb76a0c282ff1b52d27"
  10. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"4401a66a14ae1f1c6ccb533581f501304fbec393ee2895fddb4af9d50ee25de4"New value: +"27c7c3e05380ccc3084cbd64036cb677c76aaa9691ceccc0af2646641cc4ccf4"
  11. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"34dad6e0c1078af468125969509232ef42b36c03b09b5ff0d329d96a9c34468b"New value: +"4401a66a14ae1f1c6ccb533581f501304fbec393ee2895fddb4af9d50ee25de4"
  12. Changed2 schema fields changed
    • changedInput schema / properties / packetStarterTemplate / enum
      Previous value: -[
      -  "single_w2_refund",
      -  "single_w2_1099int_refund",
      -  "single_w2_1099div_refund",
      -  "single_two_w2_refund",
      -  "mfj_two_w2_refund",
      -  "mfj_retired_ssa1099_1099int_refund",
      -  "single_w2_balance_due",
      -  "form1040ss_puerto_rico_schedule_c",
      -  "form1040nr_single_w2_refund"
      -]New value: +[
      +  "single_w2_refund",
      +  "single_w2_1099int_refund",
      +  "single_w2_1099div_refund",
      +  "single_two_w2_refund",
      +  "mfj_two_w2_refund",
      +  "mfj_retired_ssa1099_1099int_refund",
      +  "single_w2_balance_due",
      +  "form1040ss_puerto_rico_schedule_c",
      +  "form1040nr_single_w2_refund",
      +  "form1040nr_schedule_c"
      +]
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"07074f8601ee2aff3a6eb1cdd42f030efc119b0953b05da01dfbb362ac58222a"New value: +"34dad6e0c1078af468125969509232ef42b36c03b09b5ff0d329d96a9c34468b"
  13. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"5ca8186a41166c4276c7c3cd7bdfbdb184ccf5f32e7f4d060b1008b4d2a79c81"New value: +"07074f8601ee2aff3a6eb1cdd42f030efc119b0953b05da01dfbb362ac58222a"
  14. Changed2 schema fields changed
    • changedInput schema / properties / packetSchemaSection / enum
      Previous value: -[
      -  "agent-identity",
      -  "people",
      -  "wages-retirement-benefits",
      -  "investments",
      -  "other-income-deductions-payments",
      -  "business",
      -  "rental-farm",
      -  "farm-rental",
      -  "additional-businesses",
      -  "partnership-k1",
      -  "partnership-k1-treatment",
      -  "s-corporation-k1",
      -  "s-corporation-k1-treatment",
      -  "choices-required",
      -  "choices-family-education",
      -  "choices-health-retirement",
      -  "choices-premium-tax-credit",
      -  "choices-energy-vehicle",
      -  "choices-less-common",
      -  "choices-foreign-assets",
      -  "choices-unbuilt-situations",
      -  "federal-documents",
      -  "form-1040ss",
      -  "form-1040nr"
      -]New value: +[
      +  "agent-identity",
      +  "people",
      +  "wages-retirement-benefits",
      +  "investments",
      +  "other-income-deductions-payments",
      +  "business",
      +  "rental-farm",
      +  "farm-rental",
      +  "additional-businesses",
      +  "partnership-k1",
      +  "partnership-k1-treatment",
      +  "s-corporation-k1",
      +  "s-corporation-k1-treatment",
      +  "choices-required",
      +  "choices-family-education",
      +  "choices-health-retirement",
      +  "choices-premium-tax-credit",
      +  "choices-energy-vehicle",
      +  "choices-less-common",
      +  "choices-foreign-income",
      +  "choices-foreign-assets",
      +  "choices-unbuilt-situations",
      +  "federal-documents",
      +  "form-1040ss",
      +  "form-1040ss-business-property",
      +  "form-1040nr"
      +]
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"c4b15bd6bbffa3b793045b0123261432562d14d9fb8d1448e49bdd8d398d02ec"New value: +"5ca8186a41166c4276c7c3cd7bdfbdb184ccf5f32e7f4d060b1008b4d2a79c81"
  15. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"34c2ce7e97cbec6df34f25178711020da3901c795f9b75f9f88401ea28ffba52"New value: +"c4b15bd6bbffa3b793045b0123261432562d14d9fb8d1448e49bdd8d398d02ec"
  16. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"479843a3601eb03666dd41d05adc06d3ba0aa3e637ec279078aceb63d6a1ee2b"New value: +"34c2ce7e97cbec6df34f25178711020da3901c795f9b75f9f88401ea28ffba52"
  17. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"7104f06daf589121a1be2c5cc87371346a0b8ccfaf724c15161eabfa7d897206"New value: +"479843a3601eb03666dd41d05adc06d3ba0aa3e637ec279078aceb63d6a1ee2b"
  18. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"152387020477190adcc83d7ccd0554d5c95bf41db02f8800171419e7ae67f449"New value: +"7104f06daf589121a1be2c5cc87371346a0b8ccfaf724c15161eabfa7d897206"
  19. Changed1 schema field changed
    • changedOutput schema / properties / packetSchemaSha256 / const
      Previous value: -"d86b91d5a6b48d7442799ced5fb6f85b51a47eb1321f168c663c5140c2431d55"New value: +"152387020477190adcc83d7ccd0554d5c95bf41db02f8800171419e7ae67f449"
  20. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint, idempotentHint, and destructiveHint annotations, it discloses that no tax facts are sent, no return is written, the tax year is embedded in the packet rather than passed as an argument, and unknown arguments are refused by name. It also explains the REPLACE_WITH_TAXPAYER_VALUE placeholder behavior and that placeholders are refused by path until replaced.

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?

The purpose is front-loaded and the three request modes are clearly enumerated with semicolons. The second sentence is very dense and long, but every clause carries useful behavioral or return-value information, so it is verbose without being wasteful.

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?

Given the oneOf mode selection, four parameters, read-only annotations, and an output schema, the description covers all the behavior an agent needs: modes, returned artifacts, placeholder handling, tax-year location, and argument rejection. It is complete for this tool's complexity.

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

Parameters5/5

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

The description explains all four schema parameters and adds substantial meaning beyond the schema: continuationHandle is the filing session handle, requestPacketSchema returns the digest, outline, section list, and starter-template list, and the section/template parameters return a single section or complete starter packet. It further clarifies the placeholder values, askTheTaxpayer messages, and presets returned in starter packets.

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 resource and operation: it returns the packet schema used to validate a completed return packet. It clearly describes three retrieval modes, but it does not explicitly distinguish itself from the filing-session siblings, so it stops short of a 5.

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?

It explains what each of the three request modes returns, which effectively guides the caller in choosing requestPacketSchema, packetSchemaSection, or packetStarterTemplate. It does not explicitly say when to use this tool before or instead of continuing/creating a filing session, so there is no full when/when-not guidance.

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.