Skip to main content
Glama

Get Internal Transactions

get_internal_transactions
Read-onlyIdempotent

Get internal transactions for an address, or by a specific parent transaction hash.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_internal_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based). Default 1. page x offset must be at most 10000; narrow the block range to see more.
sortNoSort order by block number. Default desc (newest first).
offsetNoRecords per page (max 10000). Default 100.
txhashNoParent transaction hash (omit if using address).
addressNoAccount address (omit if using txhash).
chainidNoNumeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1).
endblockNoEnd block number.
startblockNoStart block number.

Output Schema

NameRequiredDescriptionDefault
dataYesThe JSON result returned by the Etherscan data tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / chainid / description
      Previous value: -"Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). Defaults to server config."New value: +"Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    • changedInput schema / properties / offset / description
      Previous value: -"Records per page (max 10000)."New value: +"Records per page (max 10000). Default 100."
    • changedInput schema / properties / page / description
      Previous value: -"Page number (1-based)."New value: +"Page number (1-based). Default 1. page x offset must be at most 10000; narrow the block range to see more."
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order by block number."New value: +"Sort order by block number. Default desc (newest first)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        {
      +          "items": {},
      +          "type": "array"
      +        },
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The JSON result returned by the Etherscan data tool."
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered without the description. The description adds essentially nothing beyond restating the query shape — no mention of pagination ceilings, block-range narrowing behavior, the chainid default, or what the response contains. For a tool that reaches an indexed external data source, that is a thin contribution.

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?

A single sentence with no filler, and the two legal entry points are front-loaded. Nothing in it is redundant padding, even though the sentence is short relative to the tool's complexity.

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?

With an output schema present and full schema descriptions, the description need not explain return values, and it correctly identifies the resource. It nonetheless leaves the caller to discover the address-or-txhash exclusivity, the default chain, and the pagination ceiling entirely from the schema, which is adequate but minimal for an 8-parameter tool.

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 description coverage is 100%, and the schema already explains the page/offset ceiling interaction, the sort default, the chainid default and the address-vs-txhash exclusivity. The description only echoes the address and txhash parameters, so the baseline 3 for full schema coverage is the right score rather than higher.

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 pairs a specific verb ("Get") with a specific resource ("internal transactions") and discloses the two lookup modes — by address or by parent transaction hash. That distinguishes it from get_transactions and get_token_transfers by resource, though no sibling is named explicitly and the phrase "parent transaction hash" carries most of the disambiguation work.

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 "for an address, or by a specific parent transaction hash" wording implies the caller picks one of two entry points, and usage is inferable from the sibling set (internal vs. normal transactions vs. token transfers). However, there is no explicit when-to-use statement, no exclusion of the alternative tools, and no note that address and txhash are mutually exclusive other than what the schema already says.

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