Skip to main content
Glama

AI-ERP Business Connector

payment.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": "payment.draft.create"
  }
}

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 supplied, the description must carry the behavioral burden, and it does add real value by disclosing a risk tier (R2) and that confirmation is required — information an agent would not otherwise have. However, it omits what permissions are needed, whether the draft is editable or revocable afterward, and what the call returns, which matters for a mutating tool operating on financial data.

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 single phrase is front-loaded and free of padding, but its brevity is under-specification rather than efficiency — the risk/confirmation note is useful yet nothing else of substance is packed in.

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?

Given this is a mutating financial operation with no annotations, no output schema, and an opaque nested argument bag, the definition should explain required fields, effects of the call, and the confirmation workflow. The risk tier note is a good start but leaves the agent without enough to invoke the tool correctly.

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?

The schema exposes only a single free-form 'args' object with additionalProperties=true and 0% description coverage, meaning the agent has no idea what fields a payment draft requires (amount, payee, account, date). The description provides no parameter information to compensate, so the tool is effectively uncallable without trial and error.

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: '录入付款单草稿' (enter a payment draft), so an agent can tell this creates a payment draft rather than an invoice or expense draft. It does not distinguish itself from nearby siblings like sales.payment.draft or expense.draft.create, so it stops 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 Guidelines2/5

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

There is no guidance on when to use this versus the many sibling draft tools (invoice.draft.create, expense.draft.create, sales.payment.draft), nor any stated prerequisites or follow-up steps such as editing or confirming the draft. The parenthetical '需确认' hints at a confirmation step but does not tell the agent how or when to trigger it.

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