Skip to main content
Glama

结算流水对账

settlement.ledger
Read-onlyIdempotent

查询结算账户余额与往来流水(含哈希链凭证),用于多 Agent 结算对账。Example: {"account_id":"agent-a","limit":20}

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 20,
      "account_id": "agent-a"
    },
    "name": "settlement.ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返回最近 N 条流水,默认 50,最大 200(可选)
account_idYes账户标识(Agent 名/组织 ID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description's real contribution is disclosure that returned flows carry hash-chain vouchers, which tells the agent the output is verifiable. However, it does not say whether results can be paginated or truncated, so the description adds only modest context beyond what the annotations and schema already convey.

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?

It is a single front-loaded sentence naming the resource, the payload characteristic, and the use case. The trailing example duplicates the schema's own examples array and is therefore slightly redundant, but the description is otherwise free of filler.

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?

This is a two-parameter, read-only, closed-world query with full schema coverage and no output schema, so the description does not need to document return shapes. It covers purpose, use case, and one notable output trait (hash-chain vouchers), which is nearly enough. The only real gap is guidance on how it relates to settlement.account and settlement.transfer.

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 description coverage is 100%, with limit (default 50, max 200) and account_id both documented in the schema. The description's inline example merely restates those same two parameters and adds no new meaning. That makes it a baseline 3, because the schema carries the semantic burden.

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 states a specific verb and resource: querying settlement account balance and transaction flows, with hash-chain vouchers, for multi-Agent settlement reconciliation. That clearly distinguishes it from settlement.transfer (which moves funds), but it never names settlement.account, which is the closest sibling and is left for the agent to disambiguate on its own.

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 phrase "用于多 Agent 结算对账" gives a usage context, so the agent can infer this is a read-side reconciliation call. However, it offers no explicit when-not conditions, no prerequisites such as whether the account must exist, and no routing to settlement.account or settlement.transfer.

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.