Skip to main content
Glama

AI-ERP Business Connector

ai.draft.edit

编辑 AI 草稿(风险 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": "ai.draft.edit"
  }
}

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 exist, so the description carries the full behavioral burden. It does disclose two genuinely useful traits, which are risk tier R2 and the requirement for confirmation before the edit takes effect. But it says nothing about what edit does to the draft (partial update versus replacement), permission requirements, whether the change is reversible, or what a call returns.

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 description is a single short clause with the risk marker and confirmation gate front-loaded, so there is no wasted wording. However, that brevity comes from under-specification rather than discipline, and it is far too thin for a mutation tool whose arguments are opaque.

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?

The tool takes a nested, untyped argument blob with no output schema and no annotations, so the complexity is high. The description supplies only a risk tier and a confirmation requirement, leaving the argument contract, effect on the draft, and failure modes entirely undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

This tool has a single free-form 'args' object with additionalProperties=true and 0% schema description coverage. The description explains none of it, so the agent has no idea what keys or fields an edit call must supply. Because a parameter exists, the zero-parameter baseline of 4 does not apply.

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?

"编辑 AI 草稿" names a specific verb (edit) and resource (AI draft), so an agent can tell this mutates a draft rather than listing or confirming one. It does not explicitly distinguish itself from siblings such as drafts.confirm or draft.revoke, 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?

The phrase "需确认" (requires confirmation) hints at a two-step confirm flow, which is some implicit usage context. However, there is no statement of when to choose this over ai.drafts.confirm or ai.draft.revoke, and no prerequisites or preconditions are given.

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