Skip to main content
Glama

check_suggest

Read-onlyIdempotent

Generate and verify candidate problem checks from broken-to-solved lab changes; each check must fail on the broken state and hold on the solved state.

Instructions

SolvedKit: candidate problem.json check conditions from what the fix changed between a broken and a solved state of the same lab (the state_diff changes the check can see: a route now selected through an interface, a BGP best path, an OSPF adjacency Full, a BGP session Established, an interface up; the old best path kept as a backup). Every candidate is judged on both states; check is the proposed check, verified to fail on broken and hold on solved (status ok), or null with reason (status none; cannot_judge when the solved state cannot be read). A candidate marked binds_method names how a route is learned; it is not in the check unless nothing else tells (then warnings says so) - add it only if the problem asks for that. skipped lists the changes it did not use and why. It cannot know other ways to solve the problem. Read-only.

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": {
      "broken": "<broken>",
      "solved": "<solved>"
    },
    "name": "check_suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
focusNoThe router to start from (default: the one the fix changed most)
brokenYesA state of the broken lab (same input as lab_state)
prefixNoThe destination to start from, e.g. 8.8.8.0/24 (optional)
solvedYesA state of the solved lab (same input as lab_state)
mgmt_subnetNoThe lab's management network, left out (default 172.20.20.0/24; netlab: 192.168.121.0/24)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive traits, yet the description adds substantial behavior beyond them: each candidate is judged against both states, status is ok / none with a reason, cannot_judge covers an unreadable solved state, warnings surfaces caveats, skipped explains unused changes, and it explicitly cannot find alternative solutions. What it lacks is any note on output size, ordering, or performance cost.

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

Conciseness5/5

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

This justification was not written for an overlong definition, but on review the text is a single overloaded sentence plus a few fragments with nested parentheticals, so rating it 5 for conciseness would be inconsistent. A 5 requires front-loaded, parseable prose, which this is not.

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

Completeness4/5

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

There is no output schema, so the description must carry return semantics; it does so reasonably well by defining status ok/none, the reason field, cannot_judge, warnings, skipped, and binds_method. What is missing is an explicit enumeration of the response fields and whether multiple candidates come back, leaving a small gap for a tool with five parameters.

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 broken, solved, focus, prefix, and mgmt_subnet with defaults and examples. The description adds no semantics for any of these parameters beyond restating that the two states are compared. Baseline 3 applies when the schema carries the parameter burden.

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 a specific operation: proposing candidate problem.json check conditions by comparing the broken and solved states of a lab after a fix. It is dense but an agent can tell it produces candidate checks rather than running or verifying them, which distinguishes it from check_run/check_verify. The heavy parentheticals muddy the first sentence, keeping it short of a 5.

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?

Usage is implied (you must supply a broken and a solved state, and it evaluates a fix-induced delta), and it gives one concrete conditional instruction about binds_method ('add it only if the problem asks for that'). However, it never explicitly says when to prefer this over siblings like check_init or check_verify, nor states prerequisites or exclusions. Adequate but relies on inference.

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