Skip to main content
Glama

get_transaction_summary

Retrieve monthly or previous-month transaction summaries for buyers or sellers, including order amounts, commission, total orders, and successful order counts.

Instructions

交易概览:本月/上月订单金额、分成金额、订单数、成功订单数。record_type=2买方/1卖方。需登录。

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_transaction_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
type_No
record_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the authentication requirement and the bounded time window (this month / last month only, no arbitrary range). It does not say whether the call is read-only in effect, what units the amounts are in, or what happens on missing data.

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?

Very compact and front-loaded: the metric list comes first, then the parameter hint, then the auth note. No filler, though the unexplained 'type_' parameter makes the final clause feel incomplete rather than tight.

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?

There is no output schema, so listing the returned metrics is genuinely necessary and it is done well; the login note covers the main precondition. The single real gap is the undocumented 'type_' parameter, which for a two-parameter tool is notable but not fatal.

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 0% across two parameters, so the description must compensate and only partially does: it explains record_type values (2=buyer, 1=seller) but leaves the 'type_' parameter entirely undefined, including its default of 1 and what it switches.

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 names a specific resource (transaction overview) and enumerates exactly what it reports: order amount, share amount, order count, and successful order count for this month and last month. That distinguishes it from aggregate siblings such as get_account_summary, though it does not explicitly say so.

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?

It provides a usage constraint in the form of 'record_type=2 buyer / 1 seller' and 'login required', which helps an agent call it correctly. However, it never explains when to prefer this tool over sibling summary or detail tools, and it gives no exclusion conditions.

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