Skip to main content
Glama

Mencoro

Check tracked queries now

run_checks

Check tracked queries now instead of waiting for their schedule: name up to 100 in trackedQueryIds, or pass all: true for every active tracked query of the project, however recently it was checked (a query whose check is still running is skipped). Each check spends budget (each pass counts as one check; a Claude pass counts as five). Requires a confirmationToken: call preview_operation with tool "run_checks" and these arguments first, show the returned plan (which checks run, what they cost) to the user, and call this tool only after the user explicitly agrees. The answer carries a batchId; results arrive over the next minutes: follow them with get_check_batch_progress and read them with the analytics tools.

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>",
      "confirmationToken": "<confirmationToken>"
    },
    "name": "run_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
projectIdYes
requestIdNo
organizationIdYes
trackedQueryIdsNo
confirmationTokenYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "Per-item results of a batch write",
      -    "properties": {
      -      "failed": {
      -        "description": "Always present, empty list included: read it rather than inferring success from the status code.",
      -        "items": {
      -          "properties": {
      -            "errorCode": {
      -              "description": "The same code a single-item call returns for this problem.",
      -              "type": "string"
      -            },
      -            "errorMessage": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "successful": {
      -        "description": "The resources the operation was applied to.",
      -        "items": {
      -          "properties": {
      -            "id": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "description": "The tracked queries submitted for an immediate check",
      -    "properties": {
      -      "submitted": {
      -        "description": "How many tracked queries were submitted. Zero is a valid answer: it means nothing in the project was eligible.",
      -        "type": "integer"
      -      },
      -      "trackedQueryIds": {
      -        "description": "The tracked queries submitted, in the order they were submitted (least recently checked first). Poll these to follow progress.",
      -        "items": {
      -          "format": "uuid",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "submitted",
      -      "trackedQueryIds"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Per-item results of a batch write",
      +    "properties": {
      +      "batchId": {
      +        "description": "The check batch the accepted checks belong to; null when none was accepted, or none of them was left in the project once the batch was opened.",
      +        "format": "uuid",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "failed": {
      +        "description": "Always present, empty list included: read it rather than inferring success from the status code.",
      +        "items": {
      +          "properties": {
      +            "errorCode": {
      +              "description": "The same code a single-item call returns for this problem.",
      +              "type": "string"
      +            },
      +            "errorMessage": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "format": "uuid",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "successful": {
      +        "description": "The resources the operation was applied to.",
      +        "items": {
      +          "properties": {
      +            "id": {
      +              "format": "uuid",
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "description": "The tracked queries submitted for an immediate check",
      +    "properties": {
      +      "batchId": {
      +        "description": "The check batch the submitted checks belong to; null when nothing was submitted.",
      +        "format": "uuid",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "submitted": {
      +        "description": "How many tracked queries were submitted. Zero is a valid answer: it means nothing in the project was eligible.",
      +        "type": "integer"
      +      },
      +      "trackedQueryIds": {
      +        "description": "The tracked queries submitted, in the order they were submitted (least recently checked first). Poll these to follow progress.",
      +        "items": {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "submitted",
      +      "trackedQueryIds"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / description
      Previous value: -"Per-id outcomes when trackedQueryIds were named; the submitted ids when all was true."New value: +"Per-id outcomes when trackedQueryIds were named; the submitted ids when all was true. Either carries the batchId of the check batch the checks belong to."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it is non-read-only, open-world, non-idempotent and non-destructive. The description adds real behavioral context beyond that: each check consumes budget with a weighted cost (a Claude pass counts as five), queries currently being checked are skipped, a confirmation gate is required, and the run is asynchronous — the call returns a batchId while results arrive over the following minutes.

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 its two selection modes, then the confirmation gate, then the async follow-up — a logical order with no filler. It is dense and runs long as a single paragraph, but nearly every clause carries information an agent needs before calling.

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?

For a cost-incurring, confirmation-gated, asynchronous tool this covers the full lifecycle: how to select targets, the mandatory preview step, the billing consequence, and how to retrieve results. With an output schema present, no further explanation of return values is needed.

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 0%, so the description must carry the load: it explains the semantics of trackedQueryIds (query names, capped at 100) and all (every active tracked query, regardless of recency), plus what confirmationToken must contain and where to obtain it. organizationId, projectId and requestId are left undefined, but the first two are self-evident scoping and requestId is a conventional idempotency key, so the omission is minor.

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?

Opens with a specific verb+resource+scope: 'Check tracked queries now instead of waiting for their schedule.' It is immediately distinguishable from schedule-oriented siblings like set_tracked_query_check_frequency and from the follow-up siblings get_check_batch_progress and preview_operation, which it names by role.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit selection rules (name up to 100 in trackedQueryIds, or all: true for every active query) and a hard prerequisite: call preview_operation with tool "run_checks" first, show the user the plan, and call this tool only after explicit agreement. It also tells the agent what to do next (get_check_batch_progress, then analytics tools), leaving nothing to inference.

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.