Skip to main content
Glama

AI-ERP Business Connector

expense.draft.confirm

确认收支草稿落库(风险 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": "expense.draft.confirm"
  }
}

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, the description does carry real weight: it discloses that this is a mutating persistence operation, tags it risk level R2, and flags that confirmation is required. It does not say whether the commit is reversible, what happens to the draft afterward, 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 the action and risk tier front-loaded and no filler. It is efficient, though its brevity comes partly from omitting required information rather than from tight editing.

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 mutating, risk-tagged tool with no annotations, no output schema, and a free-form nested args object, the description leaves the agent without the payload shape, the success/failure outcome, or the post-confirm state of the draft.

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 `args` object with additionalProperties=true and 0% schema coverage. The description says nothing about what belongs in it, so an agent has no basis for constructing a valid call beyond guessing.

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 action and resource: confirming that an income/expense draft is written to the database (落库). This is clearly distinct from the create/list siblings, though it never names an alternative explicitly.

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?

'需确认' (requires confirmation) implies this is the confirmation step of a draft flow, presumably after expense.draft.create, but the description never states the precondition, when to skip it, or which sibling to use instead.

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