Skip to main content
Glama

Unlock Full Tax Optimization Plan (x402)

unlock_tax_plan

Unlock full execution calldata and accounting dossier for a plan ID, using configured payment or returning x402 payment instructions when needed.

Instructions

Unlocks full execution calldata and accounting dossier for a planId. Uses TAXRAIL_REMOTE_URL with X-PAYMENT / TAXRAIL_DEV_BYPASS if configured, or returns x402 payment instructions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "planId": "<planId>"
    },
    "name": "unlock_tax_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planIdYes
paymentSignatureNoOptional x402 v2 PAYMENT-SIGNATURE / X-PAYMENT payload for unlocking a paid plan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden but does disclose the important behavioral trait that this is a gated, payment-bearing operation driven by TAXRAIL_REMOTE_URL and x402, and that it may return payment instructions instead of the plan. It stops short of stating whether unlocking is persistent or idempotent, what happens on an invalid or unpaid call, or whether an existing unlock is charged twice.

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?

Two sentences, front-loaded with the outcome and followed by the environment/payment conditionals. Efficient, though the run of environment variable names (TAXRAIL_REMOTE_URL, X-PAYMENT, TAXRAIL_DEV_BYPASS) is dense and reads like implementation config rather than agent guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with no output schema, the description covers the core outcome and the payment branch, which is the main complexity. It omits prerequisite context (where planId comes from), error/failure behavior, and any indication of what the returned calldata is meant to be used for, leaving real gaps.

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

Parameters3/5

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

Schema coverage is 50%: paymentSignature is already documented in the schema, while planId has no schema description. The description mentions planId and the X-PAYMENT mechanism but adds no meaning about planId's origin or format, so it does not close the coverage gap. Baseline 3 is appropriate.

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?

"Unlocks full execution calldata and accounting dossier for a planId" gives a specific verb (unlocks) and specific resources (calldata, dossier) keyed on planId. The operation is unmistakable, though the description never situates it relative to the listed siblings or to whatever tool produces a planId.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: nothing says this must follow plan creation, that it is only needed for paid plans, or what to do after receiving payment instructions. The only quasi-usage signal is the conditional mention of X-PAYMENT / TAXRAIL_DEV_BYPASS, which is a configuration note rather than a usage rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.