Skip to main content
Glama

cancel_codebuddy_turn

Cancel an active CodeBuddy turn by providing the bridge session ID to stop processing without ending the session. Keeps the session available for subsequent prompts.

Instructions

Cancel the active turn while keeping the CodeBuddy session available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bridge_session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It usefully reveals that the session remains available after cancellation. However, it does not mention what happens if there is no active turn, whether cancellation is immediate or asynchronous, or other side effects.

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?

One tight sentence, front-loaded with the action and followed by the key qualifier about session availability. Every word earns its place; no filler or redundancy.

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

Completeness3/5

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

This is a simple one-parameter tool with an output schema, which reduces the need to document return values. However, the lack of parameter semantics and any cancellation edge-case behavior leaves the description adequate but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description never mentions bridge_session_id, its purpose, or how to obtain it. The description adds no parameter meaning beyond the raw schema, so the agent gets no guidance on supplying this required argument.

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?

The description states a specific action ('Cancel'), a clear resource ('the active turn'), and an important qualifier that distinguishes this tool from closing the session. It is immediately clear what the tool does and how it differs from close_codebuddy_session.

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?

The phrase 'active turn' establishes the intended context, and 'keeping the CodeBuddy session available' implies this is not the tool to use when ending the session entirely. It provides clear context but does not explicitly name alternatives or when-not-to-use conditions.

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