This record as markdown: /tools/io-github-lokmenower-best-cad-mcp/get-variable.md
What get_variable does on Pypi:best Cad
AI agents call get_variable to retrieve information from Pypi:best Cad without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why get_variable is rated Low
This tool only queries and retrieves the current state of AutoCAD system variables without creating, modifying, deleting, or executing any operations. It has no side effects and falls squarely into the Read category with low severity since variable retrieval poses minimal risk to system integrity.
From the tool's definition Tool name is 'get_variable' and description states it retrieves ('获取' = get/retrieve) the current value of AutoCAD system variables. No modification, deletion, or execution capability.
Attacks that exploit this kind of access
The rule that runs get_variable safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Pypi:best Cad, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_variable, this is the rule to start with:
get_variable is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Pypi:best Cad, apply this rule, and every get_variable call is checked against it from then on.
Questions about get_variable
获取 AutoCAD 系统变量的当前值。. It is categorised as a Read tool in the Pypi:best Cad MCP Server, which means it retrieves data without modifying state.
Register the Pypi:best Cad MCP server in PolicyLayer and add a rule for get_variable: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pypi:best Cad. Nothing to install.
get_variable is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_variable rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_variable. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_variable is provided by the Pypi:best Cad MCP server (pypi:best-cad-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Pypi:best Cad, and thousands of servers like it.
This server
Across the catalogue