Skip to main content
Glama

Plan this design

plan
Read-onlyIdempotent

Generate a model deployment readiness plan covering memory, GPU fit, cost, policy rules, and run verdict, with optional diff against a baseline model or design.

Instructions

The PR card the CI bot posts: memory, GPU fit, cost, will it run, .neurarch.yml rules, last run. Sends the graph to our API; check_design is local.

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": "plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
specNo{ base?, adapter?: { peft, rank, targets[] }, quant?, serving?, constraints? }: a change section gated on memory, fit and policy.
policyNoHouse rules (max_params, max_memory_gb, must_fit, forbid_types, max_cost_usd, ...). Replaces .neurarch.yml.
seq_lenNoDefault 2048.
base_pathNoA second model to diff against.
model_pathNoFile, zoo:<id>, hf:<org/name>
model_sourceNoOptional: answer about model text passed inline (a .neurarch.json document or PyTorch source).

Output Schema

NameRequiredDescriptionDefault
planNo
textNo
policyNo
historyNo

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?

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds the useful concrete detail that the graph is sent to "our API" — grounding the openWorldHint in a real data-egress behavior — but says nothing about auth, latency, cost, or how policy interacts with the on-disk .neurarch.yml beyond schema hints.

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 short sentences with no filler, and the key artifact is front-loaded. The first sentence is a noun-phrase fragment with a colon-delimited list, which is dense but still scannable; 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?

With six parameters, nested spec/policy objects and an output schema, the description reasonably only needs to explain intent and the remote/local split, which it does. However, it never clarifies the model_path vs model_source vs base_path relationship or that no files are changed, leaving gaps for a compute-heavy, open-world tool.

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 documents spec, policy, seq_len defaults, model_path formats and base_path. The description's only overlays are the mention of .neurarch.yml rules and "last run," which duplicate what the policy/spec properties already say. Baseline 3 is appropriate.

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 names the concrete artifact ("The PR card the CI bot posts") and enumerates its contents — memory, GPU fit, cost, will it run, .neurarch.yml rules, last run — so an agent knows what it gets back. It also explicitly contrasts itself with check_design ("is local"). The one weakness is that the action verb is never stated outright; the reader must infer that "plan" means evaluating a design change against memory/fit/policy.

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?

The only routing signal is the trailing clause "check_design is local," which implicitly tells the agent to use plan when the remote/hosted PR-style evaluation is wanted. There is no explicit when-to-use statement, no prerequisite guidance (e.g. whether a policy or spec is required, despite zero required params), and no statement of when this tool is the wrong choice.

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