Skip to main content
Glama

dreamagent_cancel_chat

Destructive

DESTRUCTIVE — stops an AI edit that is currently running. Use ONLY when the user explicitly asks to stop/cancel the active edit. After cancellation, do NOT claim the requested change was completed — report that it was stopped.

Returns 'Cancellation requested: ' — e.g. 'Query cancelled', 'Cancellation requested' (durable run), or 'No active query found'. Afterwards poll dreamagent_get_chat_status / dreamagent_get_edit_progress until run_status reports 'cancelled'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_keyYesthe session key of the running edit.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the destructiveHint annotation, including the expected return messages, the instruction to report the edit as stopped, and the need to poll status. There is no contradiction with the annotations.

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?

The description is concise yet comprehensive, front-loaded with 'DESTRUCTIVE' to immediately signal caution. It follows a logical flow covering action, usage condition, post-action guidance, return value, and follow-up steps, with every sentence earning its place.

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?

Given the tool's complexity, the description covers all necessary aspects: purpose, usage constraints, expected outcomes, and subsequent actions. It is complete enough for an agent to use the tool correctly without ambiguity.

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?

The input schema provides a complete description of the single parameter (session_key) at 100% coverage, so the description itself adds no additional parameter meaning. Baseline 3 is appropriate as the schema already handles the parameter semantics.

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 clearly states that the tool stops a currently running AI edit, using the specific verb 'stops' and a specific resource. It distinguishes itself from sibling tools by focusing solely on cancellation, making its purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage conditions: 'Use ONLY when the user explicitly asks to stop/cancel the active edit.' It also instructs not to claim completion and directs polling status tools afterward, offering clear guidance on when and how to use the tool versus alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.5/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: create vs. list vs. status, session vs. edit vs. project, and cancel vs. release lock. The three status tools are explicitly differentiated by what they monitor (session, latest edit, deployment).

Naming Consistency5/5

All tools follow the `dreamagent_verb_noun` pattern, with verbs like create, list, get, cancel, release. Retrieval is consistently split: `get_*` for single statuses and `list_*` for collections.

Tool Count5/5

12 tools is well-scoped for a cloud AI project management platform. Each tool addresses a distinct operation, covering creation, monitoring, editing, sessions, and integrations without unnecessary redundancy.

Completeness4/5

Core workflows are covered: create/list/status for projects, sessions management, edit/cancel/progress, and credential listing. Minor gaps exist—no project deletion, no env var updates—but these are not critical for the primary AI edit and deployment flow.

Resources