Skip to main content
Glama

cad_plugin

Manage TianshangCAD plugin lifecycle: install, uninstall, list, enable, disable, or inspect manifests. Loading only entry-point plugins from installed distributions blocks arbitrary module imports.

Instructions

Install, uninstall, list, enable, disable or inspect plugins.

聚合插件工具。按 ``action`` 派发:install / uninstall / list / enable /
disable / manifest。
- ``install``: 触发 entry-point 发现,只从已安装发行版加载插件(不接收
  任意模块路径)。
- ``uninstall`` / ``enable`` / ``disable``: 按名字管理插件生命周期。
- ``list``: 触发 entry-point 发现并列出已安装插件。
- ``manifest``: 返回指定插件的静态声明(名称/版本/权限/依赖)。

Security: 插件与服务器运行在同一进程 / 信任域,未做进程级沙箱。
``install`` 只加载已安装发行版的 entry-point 插件(等价于 ``pip
install`` 的信任边界),不接受 ``module:attr`` 导入。仅从可信来源安装
插件;进程级沙箱是后续硬化项。

When not to use: 插件提供的实际建模能力应通过其注册的 MCP 工具直接调用;
``cad_plugin`` 只管理插件生命周期。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pluginYesPlugin action, discriminated by `action`: install, uninstall, list, enable, disable or manifest.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPlugin name
actionYesPlugin action executed
statusYesOperation status
messageNoStatus description
pluginsNoInstalled plugin summaries
manifestNoPlugin manifest
Behavior4/5

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

The description discloses critical security behavior: plugins run in the same process/trust domain without process-level sandboxing, install only loads entry-point plugins from installed distributions and rejects arbitrary module:attr imports. This meaningfully exceeds annotation context and helps agents judge risks; minor details like persistence of enable/disable state are not covered, but the key trust-boundary behavior is transparent.

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 action list is front-loaded, and the structure flows logically: overview, dispatch details, security, then when-not-to-use. It is a bit longer than strictly necessary due to bilingual repetition, but each section serves a distinct guidance purpose and is not bloated.

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

Completeness5/5

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

For a dispatcher tool with six actions, the description covers every action's semantics, the dangerous install edge case, the unresolved security hardening item, and usage boundaries. Since output schemas exist for each action variant, no return-format explanation is necessary; everything an agent needs to call it correctly is present.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all parameters. The description adds useful conceptual framing about install semantics and the trust boundary of module paths, but it doesn't provide additional format-level detail beyond the schema, so the baseline 3 is appropriate.

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

Purpose5/5

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

The description clearly states the verb and resource: install, uninstall, list, enable, disable or inspect plugins. The opening sentence names every supported action, and the final line explicitly scopes the tool to plugin lifecycle management, distinguishing it from sibling tools that expose plugin capabilities.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly provides a 'When not to use' note stating that actual plugin capabilities should be invoked via their registered MCP tools, not through cad_plugin. This gives the agent clear selection guidance and alternative routing, well beyond simple implied usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tianshang301/TianshangCAD'

If you have feedback or need assistance with the MCP directory API, please join our Discord server