Skip to main content
Glama

Mencoro

Check batch progress

get_check_batch_progress
Read-onlyIdempotent

Progress of the checks run_checks started for a project, and of the first checks of its new queries: how many of the queries selected are done (every pass readable), failed (the check failed, was cancelled or did not finish within 6 hours) or were not admitted (refused for budget, subscription or a concurrent check, or the query was gone, paused or already checked). Summed over the latest run of batches: the newest batch, in progress or finished, and every batch whose run overlapped it (one requested before the other finished), up to 500; each query counted once, and completedAt set once every batch of the run finished; every field null when the project has no batch in the last 90 days. Later scheduled checks are not counted. Answers "are my checks done", "did the checks I ran finish", "are my new queries checked yet".

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": {
      "organizationId": "<organizationId>",
      "projectId": "<projectId>"
    },
    "name": "get_check_batch_progress"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes
organizationIdYes

Output Schema

NameRequiredDescriptionDefault
doneYes
failedYes
batchIdYesThe newest batch counted; null when the project has no batch.
queryCountYesTracked queries the batches counted selected; done + failed + notAdmitted once completedAt is set; the one exception is a lock refusal that closed the batch and that a later admission of the same tracked query replaced, which counts as pending until that check settles, with completedAt unchanged.
completedAtYesWhen the run's last query settled (its check's capture or failure, or the 6-hour expiry); null while a batch counted is in progress.
notAdmittedYes
requestedAtYesWhen the oldest batch counted was requested, ISO 8601.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / completedAt / description
      Previous value: -"When the batch's last query settled (its check's capture or failure, or the 6-hour expiry); null while it is in progress."New value: +"When the run's last query settled (its check's capture or failure, or the 6-hour expiry); null while a batch counted is in progress."
  2. Changed1 schema field changed
    • changedOutput schema / properties / queryCount / description
      Previous value: -"Tracked queries the batches counted selected; done + failed + notAdmitted once completedAt is set."New value: +"Tracked queries the batches counted selected; done + failed + notAdmitted once completedAt is set; the one exception is a lock refusal that closed the batch and that a later admission of the same tracked query replaced, which counts as pending until that check settles, with completedAt unchanged."
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only cover the read-only/idempotent safety profile, and the description goes well beyond that: aggregation over the latest run plus overlapping batches (capped at 500), per-query deduplication, a 6-hour threshold defining 'failed', the 90-day window after which every field is null, and the completedAt condition. These are exactly the non-obvious semantics an agent needs to interpret a result without misreporting 'not done' when it means 'no batch in 90 days'.

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?

Purpose is front-loaded and there is no filler, but the middle is a single dense run-on burdened with nested parentheses ('refused for budget, subscription or a concurrent check, or the query was gone, paused or already checked'). The content earns its place; the packaging makes it harder to parse than necessary.

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 an output schema present, the description need not explain return fields, and it instead supplies the counting and time-window rules that make those fields interpretable — thorough for a read-only status tool. The remaining gap is the total absence of parameter documentation for two required identifiers.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters, and the description never mentions organizationId or projectId — no format, no validity conditions, no statement of which entity scopes the aggregation. Only the phrase 'for a project' hints at project scope, leaving half the input surface undocumented.

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?

Opening clause states a specific resource (progress of the checks) and ties it to the producing tool by name ('run_checks started for a project'), which cleanly distinguishes it from run_checks and get_check_batch_items. An agent can identify the resource and its scope without opening the 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 situates the tool in a workflow (call after run_checks) and closes with concrete triggering questions ('are my checks done', 'are my new queries checked yet'), which is strong implicit when-to-use guidance. It also states an exclusion ('Later scheduled checks are not counted') but never contrasts itself with get_check_batch_items, so an agent must infer the boundary from names alone.

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.