Skip to main content
Glama
TronSave MCP Server

TronSave MCP Server

Official

List Orders

tronsave_list_orders
Read-onlyIdempotent

List TronSave market orders with pagination and filters for status, resource type, or caller wallet, returning amount, price, APY, and matching state.

Instructions

Query the market order list with paging (offset, limit ≤ 10). For an API-key account's own purchases use tronsave_internal_order_history. Returns { orders: [{ id, requester?.address, receiver.address, resourceType, resourceAmount, remainAmount, durationSec, unitPrice (SUN), isOwner, isMatching, apy, createdAt, typeOrder (NORMAL|FAST|EXTEND) }] }. status: ACTIVE = still matching, COMPLETED = no longer matching. Set isOnlyMyOrder=true (requires a wallet signature identity) to list orders requested by the caller's wallet. Use tronsave_get_order with an id for one snapshot before mutating an order.

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": "tronsave_list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return in one call. Prefer modest limits to avoid huge payloads; page with `offset`.
offsetNoZero-based row offset for page N (skip first `offset` matches). Omit when starting from the first page.
statusNoLifecycle filter: `ACTIVE` = still matching/open, `COMPLETED` = no longer matching. Omit for both.
resourceTypeNoRestrict to `ENERGY` or `BANDWIDTH` orders; omit for both.
isOnlyMyOrderNoWhen `true`, only orders requested by the wallet of the current signature identity (signature login or `Signature` header). Api-key-only sessions cannot use this filter.

Output Schema

NameRequiredDescriptionDefault
ordersNoMatching orders for this page; may be large—use pagination inputs to chunk.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so the safety profile is covered. The description adds genuinely new behavior: the `limit` ≤ 10 paging cap, the wallet-signature identity requirement, and the lifecycle meaning of `ACTIVE` vs `COMPLETED`. It loses a point for spending much of its budget restating the return shape, which the output schema already provides.

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?

Front-loaded with the core action and the paging constraint before routing and return details. The long inline field enumeration of the `orders` object is redundant with the output schema and bloats the middle of the text; trimming it would sharpen the definition.

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

Completeness5/5

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

Everything an agent needs to call this correctly is present: scope, paging bounds, filter semantics, the auth precondition on `isOnlyMyOrder`, and sibling routing for adjacent needs. With an output schema supplied and full parameter coverage, no material gap remains.

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 each parameter already carries its own description, including both enums, so the baseline is 3. The description reinforces `status` semantics and the `isOnlyMyOrder` signature requirement but adds no syntax, format, or edge-case detail the schema lacks.

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?

Opens with a specific verb+resource ("Query the market order list") and immediately scopes it with paging. It explicitly separates itself from `tronsave_internal_order_history` (API-key account's own purchases) and `tronsave_get_order` (single snapshot by id), so an agent can pick the right tool 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 Guidelines5/5

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

Names two concrete alternatives and the exact conditions that select them: use `tronsave_internal_order_history` for an API-key account's own purchases, and `tronsave_get_order` with an `id` for one snapshot before mutating. It also states the precondition for `isOnlyMyOrder` (wallet signature identity) and notes api-key-only sessions cannot use it.

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