Skip to main content
Glama

AI-ERP Business Connector

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

Input Schema

NameRequiredDescriptionDefault
argsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It does add genuinely non-schema information — risk level R2 and the confirmation requirement — which signals this is a guarded write operation. It says nothing about what permissions are needed, whether the draft is editable/revocable afterward, what happens on repeated calls, or what a successful response contains, leaving the mutation semantics largely opaque.

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?

It is a single short line with no filler, so nothing is wasted and the key qualifier is front-loaded. The terseness is a symptom of under-specification rather than deliberate economy, but judged purely on structure and wording there is no bloat to penalize.

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 mutating, nested-parameter tool with no annotations and no output schema, which is exactly the case where the description must do the heavy lifting. The risk tier and confirmation note are appropriate, but the absence of any field guidance for the free-form args object leaves the definition insufficient 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 single parameter is an open-ended nested 'args' object with additionalProperties: true and zero schema description coverage, so an agent has no idea what fields to place inside it. The description supplies no field names, formats, or examples to compensate for the coverage gap. Only the fact that there is just one wrapper argument keeps this above a total failure.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (发票草稿, invoice draft) and the action (录入, enter/record), so the basic purpose is inferable. However, it largely restates what the tool name 'invoice.draft.create' already conveys and offers no differentiation from nearby siblings such as invoice.red.draft or ai.draft.edit. The only added information is the risk tier, not the function.

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?

The parenthetical '需确认' hints that a confirmation step is required before the action takes effect, which is a small piece of usage context. Beyond that there is no when-to-use guidance, no condition distinguishing this from the other *draft.create siblings, and no stated prerequisites or exclusions.

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