Skip to main content
Glama

write_sdf

Writes an SDF netlist with properties, model definitions, part list, and netlist sections into the sandbox for circuit simulation.

Instructions

Write an SDF netlist (sections *PROPERTIES *MODELDEFS *PARTLIST *NETLIST) into the sandbox.

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": {
      "name": "<name>",
      "text": "<text>"
    },
    "name": "write_sdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
textYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden for a write operation. It reveals the destination (sandbox) and the expected section content, but says nothing about whether an existing file of the same name is overwritten, whether the write is reversible, sandbox lifetime, or error behavior. That is a substantial gap for a mutation tool.

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?

One front-loaded sentence with no wasted words, and the parenthetical section list is a compact way to convey required content. It is arguably terse to a fault, but nothing is padded.

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?

An output schema exists, so return values need not be described, and the tool has only two simple parameters. However, for a sandbox write the omitted overwrite semantics and the unexplained 'name' parameter leave real uncertainty about correct invocation.

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

Parameters2/5

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

Schema description coverage is 0% for both required parameters, so the description must compensate. The section list hints that 'text' is the SDF body containing those sections, but 'name' is never explained (file name? netlist name? path?) and no format or extension guidance is given for either parameter.

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 gives a specific verb and resource: 'Write an SDF netlist ... into the sandbox', and enumerates the expected sections (*PROPERTIES *MODELDEFS *PARTLIST *NETLIST). This distinguishes it from run_sdf or import_sdf in kind, though it never explicitly contrasts with import_sdf, which is the nearest-looking sibling.

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 statement of when to use this rather than import_sdf, simulate, or run_sdf, and no prerequisites (e.g. that a project or sandbox must exist first). The phrase 'into the sandbox' is the only usage signal, and it is implicit rather than instructive.

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