Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_unit_inch_to_mil

Convert inch measurements to mils for PCB design. Specify inch value and optional decimal places to get mil output.

Instructions

sys_Unit.inchToMil(inch: number, numberOfDecimals?: number) -> number 单位转换:英寸到密尔 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

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It exposes the signature, optional decimal parameter, and return unit, but it does not explain how numberOfDecimals behaves, what the default precision is, or whether rounding occurs. The core conversion behavior is clear, but the optional behavior is under-specified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely compact: a full signature, a one-line purpose, and a return statement. There is no filler, and the essential information is front-loaded.

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

Completeness4/5

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

For a simple pure conversion function, the description gives enough to call it correctly: input units, output units, signature, and return type. The main gap is the lack of detail about the optional numberOfDecimals parameter, but the low complexity and absence of side effects keep the completeness high.

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 input schema's args array is generic, so the description adds essential meaning by giving the official signature 'inch: number, numberOfDecimals?: number'. This tells the agent the first argument is the inch value and the second is optional, though it does not define the exact default or precision behavior of numberOfDecimals.

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 this converts inches to mils via the method signature and the Chinese '单位转换:英寸到密尔' plus '输出密尔数'. This precisely distinguishes it from the many sibling unit-conversion tools, such as inch_to_mm or mil_to_inch.

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

Usage Guidelines3/5

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

Usage is implied by the clear inch-to-mil conversion semantics, but there is no explicit statement about when to choose this tool over the sibling conversion utilities. For a pure conversion function, the intent is reasonably inferable, but no alternatives or exclusions are mentioned.

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