Skip to main content
Glama

ag_stop

Cancels the active agent task by clicking its Stop button; performs only stop/cancel actions, never Allow/Run/Approve, and refuses unless exactly one match is found.

Instructions

Click the agent Stop button (only a stop/cancel control; never Allow/Run/Approve). Refuses if not exactly one match.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses a meaningful precondition ('Refuses if not exactly one match') and the exact control being targeted, which is real behavioral value. It is silent on what happens after the click (whether the agent actually halts), whether the call is idempotent when no button exists, and what a refusal looks like.

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?

Two short parenthetical-backed sentences, front-loaded with the action and followed by the safety constraint and precondition. Nothing is padded and nothing important is buried.

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?

For a parameterless UI click with no output schema and no annotations, the definition covers the action, the excluded controls, and the match-count precondition. The main omission is post-click behavior and how failure/refusal surfaces, but the core decision inputs are present.

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?

The tool takes zero parameters, so there is no schema-level parameter meaning to add; baseline 4 applies. The description correctly spends no words on nonexistent parameters.

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?

States a concrete verb and target: 'Click the agent Stop button'. It also disambiguates the button class (stop/cancel, never Allow/Run/Approve). It does not distinguish itself from the sibling ag_cancel, which is the most likely confusion point for a 'stop vs cancel' tool pair.

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?

Gives a clear negative rule (never Allow/Run/Approve), which usefully steers the agent away from destructive approval clicks. But it offers no positive when-to-use condition and no routing to ag_cancel or other siblings when stopping isn't the right action.

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