Skip to main content
Glama

Polygon transaction summary

polygon_transaction_summary
Read-onlyIdempotent

Human-readable summary of a Polygon PoS transaction: status, block and time, sender and recipient, POL value, gas used and fee, method selector, and decoded ERC-20 transfers with token symbols and amounts. Costs $0.005 USDC on Base via x402.

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": {
      "hash": "<hash>"
    },
    "name": "polygon_transaction_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash on Polygon PoS

Output Schema

NameRequiredDescriptionDefault
toNostring, e.g. "0x8F8eE35B440cB07FaF84BEE82FDD2bA3BFEEe5de"
feeNostring, e.g. "0.163217345365235611"
fromNostring, e.g. "0xb1da6E546BD592218d6E849a8177d9D4fbf12986"
hashNostring, e.g. "0x0503a3c6b73ddb5d277a6aec2a2c7f598df5b19569217f637e9ca2e40
chainNostring, e.g. "polygon"
valueNostring, e.g. "0"
statusNostring, e.g. "success"
gasUsedNonumber, e.g. 142361
timestampNostring, e.g. "2026-10-22T15:30:27.000Z"
blockNumberNonumber, e.g. 95985104
nativeSymbolNostring, e.g. "POL"
methodSelectorNostring, e.g. "0xb61d27f6"
tokenTransfersNoarray
contractCreatedNonull, e.g. null

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "blockNumber": {
      +      "description": "number, e.g. 95985104"
      +    },
      +    "chain": {
      +      "description": "string, e.g. \"polygon\""
      +    },
      +    "contractCreated": {
      +      "description": "null, e.g. null"
      +    },
      +    "fee": {
      +      "description": "string, e.g. \"0.163217345365235611\""
      +    },
      +    "from": {
      +      "description": "string, e.g. \"0xb1da6E546BD592218d6E849a8177d9D4fbf12986\""
      +    },
      +    "gasUsed": {
      +      "description": "number, e.g. 142361"
      +    },
      +    "hash": {
      +      "description": "string, e.g. \"0x0503a3c6b73ddb5d277a6aec2a2c7f598df5b19569217f637e9ca2e40"
      +    },
      +    "methodSelector": {
      +      "description": "string, e.g. \"0xb61d27f6\""
      +    },
      +    "nativeSymbol": {
      +      "description": "string, e.g. \"POL\""
      +    },
      +    "status": {
      +      "description": "string, e.g. \"success\""
      +    },
      +    "timestamp": {
      +      "description": "string, e.g. \"2026-10-22T15:30:27.000Z\""
      +    },
      +    "to": {
      +      "description": "string, e.g. \"0x8F8eE35B440cB07FaF84BEE82FDD2bA3BFEEe5de\""
      +    },
      +    "tokenTransfers": {
      +      "description": "array"
      +    },
      +    "value": {
      +      "description": "string, e.g. \"0\""
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds genuinely non-obvious behavior: the call is paid at $0.005 USDC on Base via x402, which an agent must know before invoking. It does not disclose failure modes (invalid/unknown hash, unpaid request behavior), keeping it short of a 5.

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?

Two sentences, zero filler. The returned fields are front-loaded and the payment caveat is placed last as a discrete operational note. Every clause carries information an agent can act on.

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 one required parameter, an output schema present, and full annotation coverage, the description is nearly complete: it names the chain, the input, the returned fields, and the payment requirement. The only shortfall is that it never mentions error conditions or what an agent should do if the paid request fails.

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 100% and the single parameter is fully documented with a pattern and chain scoping ('Transaction hash on Polygon PoS'). The description contributes no additional meaning about the hash beyond what the schema already states, so the high-coverage baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb+resource: a human-readable summary of a Polygon PoS transaction. It enumerates exactly what the summary contains (status, block/time, sender/recipient, POL value, gas, method selector, decoded ERC-20 transfers), which immediately distinguishes it from chain-specific siblings such as eth_transaction_summary and from adjacent tools like polygon_contract_info.

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?

Usage is implied by the purpose: call it to get a decoded overview of a single Polygon transaction. There is no explicit statement of when to prefer it over polygon_contract_info, polygon_erc20_allowance, or another chain's summary, and no exclusions or prerequisites are named. Adequate but leaves routing to inference.

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