Skip to main content
Glama

execute_checks

Executes a previewed verification plan under permissions granted at server startup, enabling safe checks of AI-written code and evidence review.

Instructions

Execute a previewed plan within permissions granted at server startup

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": {
      "planHash": "<planHash>"
    },
    "name": "execute_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNo
onlyNo
planHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations only give readOnlyHint=false and openWorldHint=true; the description adds genuinely useful context that execution is bounded by permissions granted at server startup. It does not disclose what state the plan mutates, whether re-running with the same planHash is idempotent, or what happens when permissions are insufficient — significant gaps for an execution tool with open-world reach.

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?

A single front-loaded sentence with no filler; the action and its scope are stated immediately. It is efficient, though the terseness leaves gaps that other dimensions penalize.

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

Completeness2/5

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

For a mutating, open-world execution tool with three undescribed parameters and no output schema, one sentence is not enough. An agent cannot tell what planHash must match, what base and only narrow, or what a successful versus partially-failed execution returns.

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% across three parameters (planHash, base, only), and the description explains none of them. "Previewed plan" weakly hints that planHash identifies a previously previewed plan, but base and only are entirely undocumented in both schema and description.

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?

"Execute a previewed plan" states a specific verb and resource, and the word "previewed" signals this consumes a plan produced elsewhere. It stops short of naming the sibling (plan_verification) that produces such a plan, so differentiation relies on inference.

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?

The phrase "previewed plan" implies a prerequisite (a plan must exist first) and the permissions clause scopes when execution will succeed. However, there is no explicit when-to-use vs when-not guidance and no named alternative for producing the plan, leaving routing implicit.

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