Skip to main content
Glama

Design a digital chip in Verilog

design_chip

Designs digital logic in Verilog from a plain description, such as a 4-bit counter, a traffic light state machine or a logic circuit for an FPGA. Writes the module and a step-by-step test, builds it with Yosys and runs the test on the built circuit, correcting it up to twice. "verified" means it built clean and every test step passed; the AI wrote the test too, so it is returned for checking. Returns the code, the test and a link that opens the design with its diagram and waveforms. Takes up to 4 minutes. Counts toward the daily design limit.

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": {
      "description": "<description>"
    },
    "name": "design_chip"
  }
}

Input Schema

NameRequiredDescriptionDefault
descriptionYesThe digital circuit wanted, in plain words, such as "a 4-bit counter with enable and synchronous reset" (3 to 1,000 characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / description / description
      Previous value: -"The digital circuit wanted, in plain words (3 to 1,000 characters)."New value: +"The digital circuit wanted, in plain words, such as \"a 4-bit counter with enable and synchronous reset\" (3 to 1,000 characters)."
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already disclose the operation profile: not read-only, not idempotent, not open-world, not destructive. The description usefully adds operational behavior—writing a module plus a self-authored test, building with Yosys, running the test, correcting up to twice, and a four-minute runtime with a daily design-limit cost—but it does not explain the cost of failure (what happens after two failed corrections), the permission scope, or whether prior state is overwritten. With annotations carrying the safety profile, this added context merits a mid-to-high score rather than a top one.

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?

Front-loaded with the core action, then layered: pipeline, verification semantics, outputs, runtime, and cost. Every sentence carries distinct, load-bearing information with no filler or repetition.

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?

Given a complex multi-stage tool with no output schema, the description still covers return values (code, test, link with diagram and waveforms), execution time, quota implications, and the meaning of the verified flag. An agent can decide and invoke correctly from this alone.

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?

Only one parameter exists and the schema fully documents it (length bounds and an example), so the baseline is 3. The description earns a point above baseline by expanding on what a valid description covers—a counter, a traffic-light state machine, an FPGA logic circuit—clarifying the expected scope of the free-text input beyond the single schema example.

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?

A specific verb ('Designs') plus a specific resource (Verilog digital logic) and concrete input examples — counter, traffic-light FSM, FPGA circuit — make the purpose unambiguous. It falls short of a 5 because it never differentiates itself from sibling tools such as design_circuit or fix_chip, leaving the agent to infer why this chip-design path should be chosen over those.

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 through the stated input form ('from a plain description') and the verification/build pipeline, which suggests when the full design-and-test flow is warranted. However, there is no explicit when-not-to-use guidance, no mention of design_circuit or edit_circuit as alternatives, and no routing for cases where an existing design needs modification rather than fresh creation.

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