Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_external_api_unregister

Unregister a previously registered external API from EasyEDA Pro by supplying its namespace and API name. Returns whether the removal succeeded.

Instructions

sys_ExternalApi.unregister(namespace: string, apiName: string) -> boolean 注销指定接口 returns: 是否成功注销

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are present, so the description carries the full behavioral burden. It discloses the action and that a boolean is returned ('returns: 是否成功注销'), but it does not explain side effects, prerequisites, failure behavior, idempotency, or what happens if the API was not previously registered.

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?

The description is very short and the signature is front-loaded. There is slight redundancy between the English 'returns' and the Chinese 'returns: 是否成功注销', but there is no wasted or misleading content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-argument unregister call, the signature plus schema is mostly usable. However, the description never clarifies that both args are required, what the success boolean means beyond a literal flag, or how this operation relates to a prior registration. No output schema exists to compensate.

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

Parameters4/5

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

The schema's args property is just an untyped JSON array, but the description gives the actual parameter names, types, and order (namespace: string, apiName: string). This adds essential meaning beyond the schema, though it does not elaborate on the intended values of namespace and apiName.

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 quotes the exact API signature 'sys_ExternalApi.unregister(namespace: string, apiName: string) -> boolean' and says '注销指定接口' (unregister the specified interface), so the verb and resource are clear. It does not explicitly contrast with sibling tools such as eda_sys_external_api_register, which keeps it from a full 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 tool, what conditions must hold before calling it, or how it relates to registration and sibling tools. The intended usage is only implied by the tool name and the unregister action.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools