Skip to main content
Glama

MagicON RF Design Engines

Run compliance checks

run_compliance_analysis
Read-only

Audit the solved stackup against PCB standards (IPC-2221, IPC-6012, IPC-4101, MIL, UL-94, RoHS, REACH): per-rule pass/fail with severities and remediation. Layers are derived from the solved stackup and standards default to IPC-2221 + IPC-6012 Class 2 — call with no arguments once a stackup exists.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user_request": "<user_request>"
    },
    "name": "run_compliance_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
rfNoOptional transmitter the user states, checked with no board: {frequency_ghz, output_power_dbm (conducted), antenna_gain_dbi?, duty_cycle_pct?}. Used only when no chain was designed; then only the radio rules run.
layersNoOptional. Stackup layers. Derived from the solved stackup when omitted.
standardsNoOptional. Standards to check (e.g. IPC_2221, IPC_6012_CLASS3, ROHS_3, ETSI_EN_300_328, ETSI_EN_301_893) or a region name for advisory reference limits (e.g. 'China', 'SRRC', 'Japan', 'Canada'). Defaults to IPC-2221 + IPC-6012 Class 2 when omitted.
user_requestYesRequired: the end user's own words that prompted this call, verbatim. A figure not in them or in an earlier result is asked of the user (MCP elicitation), or refused.
stackup_configNoOptional stackup config (layer_count, total_thickness_mm). Derived when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / rf
      Added value: +{
      +  "description": "Optional transmitter the user states, checked with no board: {frequency_ghz, output_power_dbm (conducted), antenna_gain_dbi?, duty_cycle_pct?}. Used only when no chain was designed; then only the radio rules run.",
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / user_request / description
      Previous value: -"The end user's own words that prompted this call, verbatim. Used to verify that the figures you pass were stated by your user rather than inferred. Omit it and the results will be labelled caller-asserted."New value: +"Required: the end user's own words that prompted this call, verbatim. A figure not in them or in an earlier result is asked of the user (MCP elicitation), or refused."
    • addedInput schema / required
      Added value: +[
      +  "user_request"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / user_request / maxLength
      Added value: +4000
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds real context by disclosing that layers are auto-derived from the solved stackup and that standards default to IPC-2221 + IPC-6012 Class 2. It also describes the shape of the output (pass/fail, severity, remediation), which matters since no output schema exists. It does not describe runtime cost or result size for a potentially large multi-standard audit.

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?

Two dense sentences that front-load the verb, scope, standards list and return contract, with the operating guidance second. Little waste, though the standards enumeration is long and the trailing 'call with no arguments' clause is slightly at odds with the required user_request parameter.

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 five-parameter, nested-object, read-only audit with no output schema, the description covers the key things an agent needs: what is audited, what defaults apply, how layers are sourced, and what the result contains. The only incompleteness is the tension between 'no arguments' and the mandatory user_request, which could cause a malformed first call the schema alone will have to correct.

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 description coverage is 100%, so the schema already explains layers, standards, stackup_config and rf, including the rf sub-fields and the radio-rules-only behavior. The description restates the two defaulting behaviors (layers derived, standards default to IPC-2221 + IPC-6012 Class 2) rather than adding syntax or format detail beyond them, so the baseline 3 applies.

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?

States a specific verb and resource ('Audit the solved stackup against PCB standards') and enumerates the standards covered, then names the deliverable (per-rule pass/fail with severities and remediation). An agent can tell this apart from run_stackup_solver (which produces the stackup) or run_thermal_analysis without opening any schema.

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

Usage Guidelines4/5

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

Gives an explicit prerequisite and trigger: run it 'once a stackup exists' and 'call with no arguments' in that case, plus a conditional path via rf for radio-only rules when no chain was designed. It does not name a competing tool to avoid, but sibling behavior is distinct enough that no exclusion is needed — the one gap is that 'no arguments' sits awkwardly against the schema's required user_request.

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