Skip to main content
Glama

AI-ERP Business Connector

ledger.generate

生成结算台账(写操作,需确认)(风险 R2,需确认)

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": "ledger.generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose two useful behavioral facts — this is a write operation and it requires confirmation at risk level R2 — but says nothing about what the ledger generation actually creates, whether it is idempotent, what permissions are needed, or what happens on rejection.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the action, which is good, but the confirmation requirement is stated twice in adjacent parentheticals ("需确认" appears in both), wasting the little space available without adding information.

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

Completeness2/5

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

For a write tool with a free-form nested args bag, no output schema, and no annotations, an agent needs far more than a one-line label: what fields the args should contain, what a successful result looks like, and how confirmation is surfaced. None of that is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one parameter, an opaque nested "args" object with additionalProperties=true and 0% schema description coverage, and the description adds no information about what should go inside it. Because the parameter is not empty, the baseline-4 rule for zero-parameter tools does not apply, and the description does not compensate for the coverage gap.

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?

"生成结算台账" states a specific verb (generate) and resource (settlement ledger), which is enough to distinguish it from ledger.settle and ledger.summary by name. It stops short of explicitly contrasting itself with those siblings, so it does not reach a 5.

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

Usage Guidelines2/5

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

The description says this is a write operation requiring confirmation, which implies a gated flow, but it never says when to use this versus ledger.settle or ledger.summary, nor what prerequisites must be satisfied before generating a ledger. No exclusions or alternative routing are given.

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