Skip to main content
Glama

Neurarch

Suggest fix

suggest_fix
Read-onlyIdempotent

Lint findings as diffs against the .py: exact where a number or order is pinned, a proposal where a layer is missing.

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

Input Schema

NameRequiredDescriptionDefault
ruleNoOnly this rule id.
layerNoOnly this layer.
save_toNoWrite the patched file (exact fixes, --write).
severityNoMinimum. Default warn.
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
fixesYes
notFixableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare read-only, non-destructive, idempotent, and open-world behavior, while the description adds a useful exact-versus-proposal distinction. However it does not disclose that save_to can write a patched file, leaving an important side effect to the schema and in tension with readOnlyHint, though the description itself does not directly contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no obvious wasted words, but the colon construction is cryptic and the phrase 'exact where a number or order is pinned' is syntactically fragmentary. It is concise without being clear or front-loaded effectively.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter tool with an optional write path, the description is too thin to tell an agent when to select it over lint_model or how to interpret the exact-versus-proposal outcome. The output schema reduces the need to explain return values, but usage guidance and side-effect disclosure remain missing.

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 all six parameters and the baseline is 3. The description adds no parameter-level meaning for rule, layer, severity, save_to, model_path, or model_source beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gestures at producing diffs from lint findings, but the verb is elliptical and it never plainly states that it suggests fixes. It distinguishes exact fixes from proposals, yet does not clearly separate this tool from lint_model or the check_* siblings.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not guidance, no mention of running after lint_model, and no named alternatives. The reader can infer a relationship to lint findings, but the workflow and prerequisites are left unstated.

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.