Skip to main content
Glama

Test chat approval

approval_probe
Read-only

Tests whether the current client can display a native approval card and return an explicit decision. Runs only on request, contacts no hosts, executes no Ansible, and records no permissions.

Instructions

Test a native approval card in the current client. Ask only when the user requests the test. Contacts no hosts, runs no Ansible and records no permissions. The result reports whether the client returned an explicit decision.

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

Input Schema

NameRequiredDescriptionDefault
timeout_sNoseconds to wait for the card response, between 5 and 65. Default 60

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.9

TDQS

A4.3/5.0
Behavior4/5

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

The description goes beyond the annotations by enumerating side-effect exclusions ('contacts no hosts, runs no Ansible and records no permissions') and by describing the response ('whether the client returned an explicit decision'). It does not explain why idempotentHint is false or what happens on timeout, which keeps it from a 5.

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 purpose, then the invocation rule, then the negative side effects, then the return value. Every sentence carries distinct information.

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 one-optional-parameter diagnostic with no output schema, the definition covers purpose, invocation guard, side effects, and the shape of the result. Nothing an agent needs in order to call it correctly is missing.

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 100% and timeout_s is fully documented in the schema with its 5-65 range and 60 default. The description adds nothing about the parameter, so the baseline 3 applies.

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?

States a specific verb and resource: 'Test a native approval card in the current client.' That is clearly distinguishable from the operational siblings (hosts, apply, playbook, status) because the tool is a client-side diagnostic, not a resource operation.

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?

'Ask only when the user requests the test' gives an explicit when-to-use / when-not-to-use rule, which prevents an agent from firing it speculatively. It stops short of naming an alternative path for agents that want a real approval, so it is not a full 5.

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