Skip to main content
Glama

AI-ERP Business Connector

voucher.post

过账凭证(关键财务,需复核)(风险 R3,需确认)

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": "voucher.post"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description does carry the burden, and it does add real behavioral context: this is a critical finance operation requiring review and confirmation, tagged risk R3. It still omits whether posting is irreversible, what permissions are needed, and what happens to the voucher afterwards, leaving substantial gaps for a mutation.

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?

One short line with the resource front-loaded and the risk/confirmation flags immediately after; nothing is wasted. Its brevity is efficient rather than padded, though it is terse enough that it under-specifies.

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 high-risk financial mutation with no annotations, no output schema, and an opaque nested args object, the description does not explain what posting does to the voucher, whether it can be undone, or what to supply. The risk and confirmation flags are useful but far from complete for this level of complexity.

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

Parameters4/5

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

The tool exposes a single free-form 'args' object with 0% schema description coverage and no enums, so the schema itself conveys essentially nothing. The description makes no attempt to explain what belongs in 'args' (voucher id, period, lines, etc.), which is a meaningful gap for a posting operation, though the single-parameter surface keeps the cost moderate.

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 verb and resource ('过账凭证' = post voucher), which is enough for an agent to distinguish it from drafting siblings such as voucher.draft.create or reading it via voucher.query. It stops short of explicitly contrasting itself with those siblings, so it falls short of 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 Guidelines3/5

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

It signals the operational context ('关键财务,需复核' / '需确认'), which implies the agent should seek human confirmation before calling. However, it never states when to use this versus voucher.draft.create or other voucher tools, and gives no explicit exclusions, so usage is only implied.

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