Skip to main content
Glama

check_init

Read-onlyIdempotent

Generate a draft problem.json from a lab's broken and solved states, including format, focus and a suggested check, leaving the title, problem text and id for you to fill in.

Instructions

SolvedKit: a problem.json draft for a lab from a broken and a solved state: format, focus, and the check from check_suggest; the title and problem text (English and Japanese) and the id are left empty for you to write (todo lists them). Returns the draft as problem; it writes no file. status none (with reason) when no check can be proposed. 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_init"
  }
}

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.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description still earns credit by stating what the caller would not otherwise know: no file is written, the draft is returned under 'problem', and status is none with a reason when no check can be proposed.

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?

Everything is packed into one long run-on sentence whose clauses are separated by semicolons, and the load-bearing fact that no file is written arrives late. The content is largely relevant, but the density and awkward grammar hurt scanability.

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?

With no output schema, the description usefully explains the return shape ('Returns the draft as problem', status none with reason) and the write-free contract. Missing is a clearer account of the preconditions tying the broken and solved inputs to a valid check proposal.

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 100%, so the schema already documents all five parameters and the baseline is 3. The description mentions 'focus' and the format the draft follows but adds no format, syntax, or default details beyond what the schema supplies.

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 concrete deliverable — a problem.json draft built from a broken state and a solved state, carrying the check produced by check_suggest — which lets an agent separate this from check_suggest and check_run. The phrasing 'SolvedKit: a problem.json draft for a lab from a broken and a solved state' is grammatically awkward and takes effort to parse, which keeps it below 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 through the workflow it references: check_suggest supplies the check, and the id/title/problem text are deliberately blank because 'todo lists them' for the caller to fill in. There is no explicit statement of when to call this instead of check_suggest or check_verify, so the agent must infer the sequence.

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