Skip to main content
Glama

AI-ERP Business Connector

voucher.draft.create

录入记账凭证草稿(风险 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": "voucher.draft.create"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does add real information: a risk tier ('R2') and a mandatory confirmation step, which tells the agent this is a mutating operation requiring user sign-off. It stops short of saying what actually gets created, whether the draft is persisted immediately, what happens on confirmation, or what permissions are needed.

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?

A single short clause with zero filler, and the risk/confirmation caveat is placed inline where it is immediately visible. It is efficient, though the brevity borders on under-specification rather than deliberate conciseness.

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?

This is a domain-specific accounting mutation with an opaque nested args object, no annotations, and no output schema, so the description is the only source of truth — and one line is not enough. An agent knows it creates a voucher draft and needs confirmation, but not the payload structure, side effects, or what identifier comes back.

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?

Schema coverage is 0% and the single parameter is an untyped 'args' object with additionalProperties=true and default null, meaning the schema conveys essentially no field-level meaning. The description does nothing to compensate — it never mentions what the args object should contain for a voucher (lines, amounts, accounts, dates), leaving the agent to guess the payload shape.

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 combination ('录入' + '记账凭证草稿'), so an agent can tell this creates a voucher draft. It does not explicitly contrast with voucher.post or the sibling *.draft.create tools, but the resource noun 'voucher' plus the 'draft' qualifier in the name make the scope reasonably unambiguous.

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?

'录入...草稿' implies the use case is creating a new voucher draft rather than posting or querying, and '需确认' signals a confirmation step is expected before anything is finalized. However, no alternative is named (e.g. voucher.post, ai.drafts.confirm) and no preconditions or when-not-to-use guidance is given, so routing must be inferred.

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