Skip to main content
Glama

AI-ERP Business Connector

expense.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": "expense.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?

There are no annotations, so the description carries the full behavioral burden. It does disclose two genuinely valuable facts: the risk tier is R2, and the operation needs confirmation before it takes effect. Beyond that it says nothing about permissions, what gets persisted in the meantime, or whether the draft is reversible or shared, which leaves significant gaps for a mutation tool.

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?

This is a single compact line with the action up front and the risk/confirmation caveat immediately after; no wording is wasted. Its brevity is more a symptom of under-specification than of good editing, but the structure itself is clean and front-loaded.

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 that has no annotations, no output schema, and an untyped free-form args object, the definition is far too thin. An agent learns the risk tier and the confirmation requirement, but not what a draft contains, what a successful call returns, or how the free-form args are shaped.

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 describes a single free-form 'args' object with additionalProperties=true and 0% description coverage; it therefore has no documented shape. The description adds no information about what fields belong in args, which fields are mandatory for an expense versus an income entry, or how amounts and categories should be formed, so an agent cannot construct a valid call from the description alone.

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 (录入 / enter) and a specific resource (费用/收支草稿 / expense-income draft), which is enough for an agent to tell it apart from sibling creators such as invoice.draft.create or voucher.draft.create. It does not explicitly contrast itself with those siblings, which keeps it below 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?

The parenthetical '需确认' (requires confirmation) implies a two-step flow that ends at expense.draft.confirm, which is useful implicit guidance. However, it never states when to choose this tool over the other *.draft.create siblings, nor any preconditions for creating a draft.

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