Skip to main content
Glama

Neurarch

Check a model edit

check_edit
Read-onlyIdempotent

Call after editing a model's config or architecture, before training: silent edit bugs (vocab resize, tying, heads, RoPE, LoRA targets) and the memory delta. Offline.

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_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpuNo
batchNo
configNoconfig.json after.
seq_lenNo
attentionNo
model_pathNoFile, zoo:<id>, hf:<org/name>
base_configNoconfig.json before: object, JSON or path.
model_sourceNoOptional: answer about model text passed inline (a .neurarch.json document or PyTorch source).
base_model_pathNoThe model before the edit.
lora_target_modulesNo

Output Schema

NameRequiredDescriptionDefault
okYes
verdictYes
findingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, so the description's job is to add context, which it does: it names the specific bug classes it detects and the fact that it reports a memory delta. 'Offline' adds operationally useful context, though it sits in mild tension with openWorldHint=true given that model_path accepts hf:<org/name> sources — that tension is not severe enough to constitute a contradiction.

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?

A single dense sentence with the precondition first and the payoff second — no filler. Slight deduction because abbreviations like 'tying' and 'heads' are compact to the point of being cryptic without domain context.

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. The real gap is with 10 all-optional parameters and no required ones: the description never explains how model_path, base_model_path, config, base_config, and model_source relate or which combinations are expected. For a tool with that much input surface, the description leaves too much to the schema.

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 coverage is 50% across 10 parameters, so the description should compensate but largely does not. The mention of LoRA targets, vocab resize, and memory delta loosely maps to lora_target_modules, the config/base_config pair, and the gpu/batch/seq_len/attention group, but no parameter is named or explained in the description itself. Baseline 3 applies.

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?

States a specific verb and resource ('check' a 'model edit') and enumerates what it catches: vocab resize, tying, heads, RoPE, LoRA targets, plus memory delta. That is far more concrete than the bare name. It stops short of distinguishing itself from siblings like lint_model or model_changes, so an agent must infer the boundary.

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

Usage Guidelines4/5

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

The timing is explicit and front-loaded: 'Call after editing a model's config or architecture, before training.' This tells the agent exactly where in the workflow the tool belongs. It does not name when NOT to use it or which sibling covers adjacent checks, so it falls short of a 5.

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.