Skip to main content
Glama

Internal Account Order History

tronsave_internal_order_history
Read-onlyIdempotent

List paginated order history for the internal account linked to the API key, newest first. Requires a logged-in MCP session created by the tronsave_login tool: include mcp-session-id: <sessionId> returned by tronsave_login on subsequent MCP requests. Internal tools never accept API keys via tool arguments; signature sessions resolve the latest internal API key on demand, while api-key sessions reuse the validated key from login. Use when the user asks about past purchases, fulfillment, payouts, or delegates on their internal account. Read-only. Pair with tronsave_internal_order_details for a single order's full snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage index, 0-based. Omit for first page (default 0).
pageSizeNoOrders per page. Default 10 when omitted. Typical range 1–100.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoOrders on this page, newest first.
totalNoTotal orders matching the query (for pagination).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already provide readOnlyHint, openWorldHint, idempotentHint. The description adds critical behavioral details: requires a logged-in MCP session from `tronsave_login`, explains the `mcp-session-id` header requirement, clarifies that internal tools never accept API keys via arguments, and describes the two session types. No contradictions with annotations.

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?

Description is a single paragraph of 5 sentences, front-loaded with the main purpose. Each sentence adds value, though slightly verbose. Could be more structured (e.g., bullet points) but is concise enough.

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?

Covers all essential aspects: purpose, authentication, pagination, usage context, and relationship to sibling tool. Output schema exists, so return values are not needed. Complete for a paginated list tool with authentication.

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% with clear descriptions for both parameters (page, pageSize). The tool description does not add extra parameter semantics beyond what the schema already provides. Baseline 3 due to full coverage.

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?

Describes exactly what the tool does: 'List paginated order history for the internal account linked to the API key, newest first.' Clearly specifies the verb (list), resource (order history), and pagination ordering. Distinguishes from sibling `tronsave_internal_order_details` for a single order.

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 states when to use: 'Use when the user asks about past purchases, fulfillment, payouts, or delegates on their internal account.' Also notes it is read-only. Could be improved by explicitly stating when not to use, but the context is clear.

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