Skip to main content
Glama

Register Custom Hardware Blueprint

define_custom_blueprint
Idempotent

Validate and register a custom hardware blueprint into the active catalog so unlisted equipment can be mounted. Pass the entire specification inside the top-level 'blueprint' object: 'blueprint.slug' must use lowercase kebab-case, ports may combine explicit 'ports[]' with repeating 'port_groups[]' macros whose coordinates fit strictly within 'blueprint.geometry' without overlapping, and 'slots[]' applies only when 'mount_type' is 'modular-carrier' whereas 'slot_compatibility' applies to 'sub-module'. Persists YAML to the local custom-catalog folder in stdio mode or session memory on remote servers, overwrites same-slug custom entries without touching mounted rack state or undo history, and returns status 'INVALID' instead of throwing on validation errors. Use only after search_catalog confirms hardware is unlisted; use mount_equipment instead to place an already registered blueprint into the rack.

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": {
      "blueprint": "<blueprint>"
    },
    "name": "define_custom_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
blueprintYesComplete custom hardware blueprint specification; ports may be defined via explicit ports[], repeating port_groups[] macros, or both.

Output Schema

NameRequiredDescriptionDefault
dataYesCustom blueprint registration payload.
issuesYesStructured diagnostic findings (ERROR, WARNING, INFO) with actionable remediation_suggestions.
statusYesDeterministic execution outcome: "VALID" when the operation succeeded with 0 validation errors; "INVALID" when precondition or engineering validation errors are present in issues[].
summaryYesConcise human- and agent-readable summary of the tool result and validation status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, but the description adds substantially more: persistence target differs by transport (local custom-catalog YAML in stdio vs. session memory remotely), same-slug custom entries are overwritten while mounted rack state and undo history are untouched, and validation failures return status "INVALID" rather than throwing. Overwrite-without-side-effects is exactly the behavior an agent needs before calling an idempotent mutation.

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?

The action and payload shape are front-loaded before the constraint list, and there is no filler. The middle sentence is a dense semicolon-chained run of validation rules that takes effort to parse, which costs it a point against an ideal.

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?

For a complex nested-schema registration tool, the description covers the payload envelope, the key structural constraints, side effects, persistence, and error signaling. An output schema exists, so return-value detail is rightly omitted apart from the "INVALID" status caveat.

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?

With a single top-level parameter at 100% schema coverage, the baseline is 3, and the description beats it by stating cross-field validation rules the schema cannot express: port_groups macros must land strictly inside blueprint.geometry without overlapping, slots[] is valid only for mount_type "modular-carrier", and slot_compatibility only for "sub-module". It skips guidance on geometry, power_and_thermal, and visuals, which keeps it from a 5.

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?

"Validate and register a custom hardware blueprint into the active catalog" names a specific verb pair and resource, plus the downstream effect ("so unlisted equipment can be mounted"). It is immediately distinguishable from mount_equipment, search_catalog, and get_device_blueprint.

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

Usage Guidelines5/5

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

Explicit routing is given on both sides: use this only after search_catalog confirms the hardware is unlisted, and use mount_equipment instead to place an already-registered blueprint into the rack. No inference about alternatives is required.

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