Skip to main content
Glama

check_run

Read-onlyIdempotent

Judges a lab's problem.json check against one saved state and returns solved, not_solved, or cannot_judge with per-condition results, so you can verify whether the lab is solved.

Instructions

SolvedKit: is the lab solved now? Judges the lab's problem.json check against one state with the same rules as the page's Solved mark (one reading; the page also waits about 10 s for the check to keep holding). status is solved, not_solved, or cannot_judge (no check, or a router in the check is missing or cannot be read - then reason says which). results has one entry per condition (ok: true, false, or null when it cannot be judged). 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>"
    },
    "name": "check_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoThe state to judge (same input as lab_state) (optional here: the server was started with /app/demo/bgp-lp/frameB.json)
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.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile needs no restating. The description instead adds genuinely new behavioral context: that this is a single reading versus the page's ~10 s hold, that status can be cannot_judge when a check is absent or a router is unreadable, and that the per-condition entries can be null. It does not cover cost or rate limits, which are minor here.

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?

Front-loaded with the core question, then the judging rule, then the outcome vocabulary. Every clause carries information, though the parenthetical nesting around the 10 s wait and the cannot_judge reasons makes it denser than it needs to be.

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 does the work of explaining return values: the status enum, the per-condition results array with true/false/null, and the reason field for unjudgeable cases. Combined with the single-reading caveat, an agent has enough to call it and interpret the answer; only the relationship to sibling check tools is left unstated.

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 both parameters are already documented, including that path defaults to the server-configured frameB.json and that problem accepts the file or its containing folder. The description adds no syntax, format, or defaulting detail beyond that, 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?

States a specific verb and resource: judges the lab's problem.json check against one state, using the same rules as the page's Solved mark. The framing question ('is the lab solved now?') plus the named status vocabulary makes the intent unambiguous. It stops short of naming a sibling such as check_verify, so differentiation has to be inferred from the tool names alone.

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 context is implied rather than stated: it judges ONE state with a single reading, and the page additionally polls for ~10 s. That hints this is a point-in-time query rather than a wait-for-convergence tool, but the description never says when to choose it over check_verify or lab_state, nor what to do with a cannot_judge result beyond noting the reason field.

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