Skip to main content
Glama

Yield.xyz AgentKit

Get Transaction Status

get_transaction
Read-onlyIdempotent

Poll the status of a single transaction by its ID. Use after submit_hash to confirm on-chain success. status is one of: NOT_FOUND, CREATED, BLOCKED, WAITING_FOR_SIGNATURE, SIGNED, BROADCASTED, PENDING, CONFIRMED, FAILED, SKIPPED. Terminal states: CONFIRMED, FAILED, SKIPPED.

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": {
      "transactionId": "<transactionId>"
    },
    "name": "get_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionIdYesThe transaction UUID returned by actions_enter, actions_exit, or actions_manage — same ID passed to submit_hash.

Output Schema

NameRequiredDescriptionDefault
idYes
hashYes
typeYes
errorNo
titleYes
statusYes
networkYes
createdAtYes
isMessageNo
stepIndexNo
descriptionNo
explorerUrlNo
gasEstimateNo
broadcastedAtYes
signedTransactionYes
unsignedTransactionNo
annotatedTransactionNo
structuredTransactionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedOutput schema / properties / broadcastedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / broadcastedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / error / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / error / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / explorerUrl / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / explorerUrl / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / hash / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / hash / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / signedTransaction / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / signedTransaction / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's real contribution is enumerating the ten possible status values and flagging CONFIRMED, FAILED and SKIPPED as terminal — that is exactly what an agent needs to decide whether to keep polling or stop. It stops short of naming a polling interval, timeout, or what a NOT_FOUND implies about eventual consistency, which keeps it off 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?

Three short sentences, front-loaded with the core action, then the sequencing hint, then the status vocabulary. Nothing is repeated and every sentence carries information the agent uses.

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?

An output schema exists, so return shape need not be explained, and the status vocabulary plus terminal states cover the main interpretive gap. The only missing piece for a polling tool is guidance on retry cadence or giving up, which is a minor but real omission.

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's own description already explains that transactionId is the UUID returned by actions_enter/actions_exit/actions_manage and the same ID passed to submit_hash. The description's 'by its ID' adds no meaning beyond that, so the baseline 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?

States a specific verb and resource ('Poll the status of a single transaction') and bounds scope to one transaction identified by ID, which distinguishes it from list-style siblings like actions_get_all or yields_get_all. It also names the related sibling submit_hash, so the agent can place it in a workflow without opening any schema.

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

Usage Guidelines4/5

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

Explicitly tells the agent when to reach for this tool: after submit_hash, to confirm on-chain success. There is no when-not guidance or statement of how often to poll, so it falls short of a full 5, but the sequencing guidance is concrete and actionable.

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