Skip to main content
Glama

Claim Tax Dossier After On-Chain Execution

claim_dossier

Verifies a settled swap or Aave borrow txHash on-chain, then unlocks SpecID-selected lots and Form 8949 or Brazil DeCripto CSV exports for tax reporting.

Instructions

Verifies the settled swap or Aave borrow txHash on-chain and unlocks SpecID selectedLots + Form 8949 / Brazil DeCripto CSV.

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>",
      "txHash": "<txHash>"
    },
    "name": "claim_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNo
planIdYes
txHashYes
feeTxHashNo
paymentSignatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses little: it doesn't say whether claiming is idempotent, whether a plan can be re-claimed, what happens on verification failure, or what permissions/ownership are required. It also never hints at the payment gating implied by the feeTxHash and paymentSignature parameters, which is a material behavioral trait for an unlock operation.

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?

A single front-loaded sentence that states verification first and the unlocked artifacts second, with no filler. It is dense with product jargon (SpecID selectedLots) but nothing is redundant.

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

Completeness2/5

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

A five-parameter, no-annotation, no-output-schema mutation-like tool needs substantially more context than one sentence, especially around the two undocumented payment parameters and post-claim state. The description covers the happy path only and leaves an agent unable to tell how to satisfy or avoid the fee/signature requirements.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and does so for only one field: txHash is constrained to a settled swap or Aave borrow transaction, which is genuinely useful. planId, chain, feeTxHash, and paymentSignature receive no explanation at all, leaving the payment/fee path entirely opaque.

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 a specific verb and object: it verifies a settled swap or Aave borrow txHash on-chain, then unlocks SpecID selectedLots plus Form 8949 and Brazil DeCripto CSVs. That is far more specific than the bare name and distinguishes it from siblings like prepare_execution or check_tax_impact. It stops short of naming an alternative sibling to route away to.

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?

The word "settled" plus the title 'After On-Chain Execution' imply the precondition that the transaction must already be confirmed before claiming. There is no explicit when-not guidance, no statement about what to do if verification fails, and no named alternative such as unlock_tax_plan for the non-on-chain path.

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