Skip to main content
Glama

verify

Runs gated test execution only when explicitly authorized; otherwise returns a plan or blocked status, never treating plan-only or blocked as passed.

Instructions

Gated verification. Default (execute=false) returns a plan only — 0 commands ran. execute=true runs tests only if WITNIS_ALLOW_VERIFY=1; otherwise status is blocked. Never treat blocked or plan-only as tests passed. automation_verified is true only after authorized execute.

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

Input Schema

NameRequiredDescriptionDefault
targetNo
executeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full load and does so well: it discloses the environment gate (WITNIS_ALLOW_VERIFY=1), the resulting 'blocked' status, the fact that the default path executes nothing, and an explicit integrity warning not to treat blocked/plan-only results as passed tests. It also explains the automation_verified flag's precondition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the gating model, then the invocation rule, then the failure-mode warning. No filler; each sentence carries distinct operational information.

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?

An output schema exists, so return-value documentation is not required, yet the description still names key statuses and the automation_verified field. The only real gap is the unexplained 'target' parameter for a tool whose whole purpose is scoped test execution.

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 coverage is 0%, so the description must compensate for both parameters. It fully explains 'execute' (default false, plan-only vs authorized run) but leaves 'target' undefined — no indication of whether it is a path, package, test selector, or scope, nor what the empty-string default means.

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?

The description states a specific verb and resource ('Gated verification') and immediately explains what the call actually does: it returns a plan by default and runs tests only when execute=true. It does not explicitly distinguish itself from the siblings impact/index/look, but the operation is unambiguous on its own.

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?

Clear guidance on the two invocation modes: default execute=false yields a plan with zero commands run, and execute=true runs tests only when WITNIS_ALLOW_VERIFY=1. What's missing is any statement of when to prefer this tool over a sibling or which target values are appropriate.

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

Deploy Server

Other Tools