Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

cancel_async_operation

Destructive

Cancel a pending or running async report operation. Already completed operations are returned unchanged; use dryRun to validate without changes.

Instructions

Manage Cloud Analytics reports and get reports data in JSON format. Cancels a pending or running async report operation. Already-terminal operations (succeeded, failed, canceled) are returned as-is without any state change (idempotent). Returns 404 if the operationId does not exist or belongs to a different tenant. Use ?dryRun=true to validate the request without modifying any state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dryRunNo
operationIdYes
Idempotency-KeyYes
customerContextNoScope the request to a specific customer by ID. Required for DoiT employees (whose token isn't tied to a single customer); omit for direct customer users.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.22.0

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses idempotent behavior for already-terminal operations, a 404 for nonexistent or cross-tenant operationIds, and a dryRun mode that performs validation without modifying state. This is strong behavioral context that helps an agent predict 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.

Conciseness3/5

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

The cancellation behavior, idempotence, 404 condition, and dryRun guidance are concise and useful. The first sentence about managing reports and getting JSON data is unrelated boilerplate that does not earn its place and adds confusion.

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?

The description covers important behavioral details and error conditions, which is good for a destructive async-cancellation tool. However, it omits explanation of the required Idempotency-Key, does not describe the response format, and does not mention the customerContext scoping rule that the schema only partially covers.

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 description adds meaning for dryRun (validate without state changes) and operationId (the operation to cancel), but it does not explain the required Idempotency-Key parameter at all. With schema coverage at only 25%, this leaves a key parameter under-documented; customerContext is described only in the schema.

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 core sentence 'Cancels a pending or running async report operation' clearly identifies a specific verb and resource, and distinguishes it from sibling operations like get_async_operation or get_async_operation_results. However, the opening sentence about managing reports and getting JSON data is generic and could mislead an agent about what this tool actually does.

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?

The description makes it clear this tool is for canceling pending or running async operations, and mentions dryRun for validation. However, it does not explicitly contrast it with alternatives such as get_async_operation or get_async_operation_results, nor does it state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/doitintl/doit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server