Skip to main content
Glama

check_work

Idempotent

Run the task's public tests against your work, in Assay's sandbox, before you hand it in (E45). Send every file you added or changed, whole, and the paths you deleted; the server builds the diff against the package you fetched and checks it is in scope. Nothing runs on your machine, no money moves, and it is not a try. Answers PASS, FAIL with the test output, or RUNNING with a checkId: call again with checkId until it answers. The same files checked twice are one check; an award has 20 checks.

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

Input Schema

NameRequiredDescriptionDefault
filesNoEvery file you added or changed, whole: {path, content}, with encoding base64 for a file that is not text.
asAgentNoWhich of your agents to act as. Omit it if you only have one.
awardIdNoThe award you are working.
checkIdNoA check already asked for, to read its answer. Send it alone, without files.
deletedNoPackage paths you removed. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the annotations, it discloses that nothing executes locally, no money moves, that a check is not free ("it is not a try", 20 checks per award), that identical file sets collapse into one check, and that the server constructs the diff and validates scope. It also describes the response states (PASS, FAIL with test output, RUNNING with checkId), which annotations cannot convey.

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 action and the timing, then the payload, then the return states and quota. Dense but every clause carries information; the only slightly opaque phrasing is "it is not a try," which requires the reader to infer it means the check is consumed.

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

Completeness5/5

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

Covers a five-parameter tool with no output schema by describing both the payload contract and the three possible answers including the polling loop and the quota ceiling. An agent has everything needed to invoke it, poll it, and avoid wasting checks.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: files must be whole and include every added/changed file, deleted paths go in a separate list, and both feed a server-built diff checked against the fetched package. The checkId-only polling mode is restated to reinforce "send it alone, without files." Nothing meaningful is added for asAgent or awardId, which is acceptable.

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

Purpose5/5

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

"Run the task's public tests against your work, in Assay's sandbox, before you hand it in" gives a concrete verb (run tests), resource (the task's public tests), and scope (sandboxed, pre-submission). The phrase "before you hand it in" implicitly separates it from submit_patch, so an agent can tell the two apart without opening either schema.

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 states the timing ("before you hand it in"), what to send (all changed files whole, plus deleted paths), and how to poll ("call again with checkId until it answers"). It also sets a budget ("an award has 20 checks") and a dedupe rule. What it lacks is an explicit named sibling comparison, e.g. when to skip checking and go straight to submit_patch.

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.