Skip to main content
Glama

cards_trx_lookup

Retrieve a Splinterlands card transaction event by trx_id, returning transaction details including block, player, success status, and prices.

Instructions

Look up the transaction object returned by GET /cards/trx_lookup for a real trx_id. A bare call, card_detail_id alone and username alone returned the same HTTP-200 application error saying that trx_id was missing; a real trx_id returned a trx_info object with id, block_id, prev_block_id, type, player, data, success, error, block_num, created_date, result, steem_price and sbd_price. data and result are JSON-encoded strings inside the JSON response and are returned as strings; this server does not parse them a second time. player is transaction account attribution, not donor provenance. BCX and donor were absent in the measured response. This route is a single-transaction event lookup and is not cached as static metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trx_idYes
usernameNo
card_detail_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / card_detail_id / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / card_detail_id / minimum
      Added value: +-9007199254740991
  2. First observedv0.0.0

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full transparency burden, and it delivers. It exposes non-obvious behavior: a bare call or calls with only username/card_detail_id return an HTTP-200 error rather than a validation error, data and result are JSON-encoded strings that are not parsed twice, player is transaction account attribution (not donor provenance), BCX/donor fields were absent, and the endpoint is not cached. This is far beyond what a typical description does.

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 description is a dense five-sentence paragraph, but every sentence adds a distinct piece of information: purpose, error behavior, response field list, JSON encoding quirk, attribution semantics, absent fields, and caching. The primary requirement (trx_id) is front-loaded in the first sentence. It is not overly verbose for the amount of behavioral detail conveyed, though it could be tightened into a list format for even faster scanning.

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?

Given there is no output schema and no annotations, the description is notably complete: it enumerates all observed response fields, explains that data/result are JSON strings, clarifies player attribution, warns about absent BCX/donor fields, and states the caching behavior. It does not explain the semantic meaning of the transaction object or the success/error codes in depth, but for a single-object lookup endpoint this is largely sufficient for an agent to invoke it correctly.

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?

The schema has zero parameter descriptions (0% coverage), so the description must compensate. It clearly identifies trx_id as the only required parameter and implies that username and card_detail_id are optional but cannot substitute for trx_id (using them alone yields an error). However, it never explains the purpose or allowed semantics of username or card_detail_id, leaving an agent to guess what those parameters mean or whether they can be combined with trx_id.

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 clearly states the tool looks up a transaction object for a real trx_id via a specific endpoint, immediately distinguishing it from cached or aggregate market endpoints. It also adds 'single-transaction event lookup and is not cached as static metadata,' which helps differentiate it from sibling tools. However, it does not explicitly name any sibling tool for comparison, so it falls just short of the highest clarity tier.

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 description implies that the tool should be used when you have a real trx_id and need the raw transaction object, and it warns that username or card_detail_id alone are insufficient (they trigger a missing-trx_id error). There is no explicit guidance on when to prefer a sibling tool (e.g., transaction_lookup or hive_transaction) or when not to use this one, so the usage context is implied rather than explicit.

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

Deploy Server

Other Tools