Skip to main content
Glama

Check design

check_design
Read-onlyIdempotent

Evaluates a PyTorch model design before and after edits, reporting trainability, cost, deployment target, data fit, and remaining decisions.

Instructions

Get the full verdict: will it train, cost, where it runs, data fit, decisions left to you. Run before and after an edit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoseq_len, tokenizer_size, num_classes, image_size, channels
configNoHF config.json (label count).
verboseNoSame as response_format detailed.
ask_userNoAsk the human (elicitation).
model_pathNoFile, zoo:<id>, hf:<org/name>
model_sourceNoOptional: answer about model text passed inline (a .neurarch.json document or PyTorch source).
response_formatNoDefault concise.

Output Schema

NameRequiredDescriptionDefault
verdictYes
findingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful behavioral context — that the output aggregates several independent judgments (trainability, cost, runtime target, data fit) and that it is intended to be re-run at two workflow points — but says nothing about cost/latency of the call or what happens when inputs are missing (all 7 params are optional).

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 compact sentences, front-loaded with the outcome the agent gets, with zero filler. The phrasing is slightly teaser-like ("decisions left to you") but nothing is redundant.

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 needn't be explained, and the rich schema documents the 7 optional inputs. What is missing for a tool of this centrality is routing context relative to check_edit and the other analysis siblings; "run before and after an edit" arguably overlaps a sibling without resolving which to call.

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 every parameter already carries a description and the baseline is 3. The prose only gestures at parameter meaning through phrases like "data fit" and "where it runs"; it adds no syntax, precedence, or mutual-exclusivity information (e.g., model_path vs model_source) beyond the schema.

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?

"Get the full verdict" plus the enumerated coverage (will it train, cost, where it runs, data fit, open decisions) makes clear this is a comprehensive design-analysis tool rather than a single-purpose check. It never names the object being checked (a model/architecture) explicitly and does not position itself against near-siblings like check_edit or plan.

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?

"Run before and after an edit" is genuine lifecycle guidance and implies a pre-flight/verification workflow. However, no when-not-to-use conditions are given, and the obvious alternative check_edit is never mentioned, leaving the agent to infer whether a post-edit check belongs here or there.

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