Skip to main content
Glama

check_verify

Read-onlyIdempotent

Validate a lab's problem.json check against broken and solved states before publishing, confirming the check fails on the broken lab and holds on the solved one and listing what to fix.

Instructions

SolvedKit: does a problem.json check tell the broken lab from the solved one? status ok means the check fails on the broken state and holds on the solved state. Each condition gets a verdict: tells (fails on broken, holds on solved), both (holds on both - fine next to a condition that tells), wrong (fails on solved: the solved lab would never get the mark) or unknown (a router cannot be read). problems lists what to fix. Use it on a check you wrote before you publish the lab. 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": {
      "problem": "<problem>",
      "broken": "<broken>",
      "solved": "<solved>"
    },
    "name": "check_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
brokenYesA state of the broken lab (same input as lab_state)
solvedYesA state of the solved lab (same input as lab_state)
problemYesThe lab's problem.json, or the folder that has it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds the substantive part missing from structured data: the meaning of a 'status ok' result, the four verdict categories (tells, both, wrong, unknown) and what each implies, plus that 'problems' lists what to fix. That is real output semantics for a tool with no output schema. It doesn't cover what happens when status is not ok or when problem.json is malformed, and the trailing 'Read-only.' merely repeats the annotation.

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?

It is front-loaded with the core question, then unpacks verdicts compactly in a single enumerated clause. Dense but every sentence carries information; only the closing 'Read-only.' is redundant given destructiveHint=false and readOnlyHint=true.

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?

For a three-required-parameter tool with no output schema, the description supplies the crucial return-value semantics (verdict taxonomy, problems list) that an agent could not otherwise know. Gaps remain around non-ok status handling and input validation errors, but the core contract is covered.

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 broken/solved/problem are already documented, including the 'same input as lab_state' hint. The description explains what the tool does with those inputs rather than adding new per-parameter meaning, so the baseline of 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?

The description opens with a concrete question that defines the operation: it diffs a problem.json check against a broken lab state and a solved lab state to confirm the check discriminates. The verb+resource is clear (verify a check), and the 'before you publish the lab' framing separates it from run-style siblings even though no sibling is named explicitly.

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?

It gives a clean when-to-use rule: 'Use it on a check you wrote before you publish the lab.' That anchors the call in a workflow step. It stops short of stating exclusions or naming the alternative (e.g., check_run for a single-state execution), so an agent must infer the boundary from context.

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