Skip to main content
Glama

Delete availability request

delete_availability_request
DestructiveIdempotent

Delete an availability request (the "are you free on these dates?" ask) and its responses. Who is told: when the request was already sent (OPEN), the people it went to are told it was cancelled; deleting an unsent draft tells nobody. CRM managers only. Confirmation-gated.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request_id": "<request_id>"
    },
    "name": "delete_availability_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesrequest id from list_availability_requests
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: absent (the API answers 204 with no body) }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing what is destroyed (the request plus its responses) and the notification side effect conditional on state — OPEN requests notify recipients of the cancellation, drafts notify nobody. The 'CRM managers only' permission note and confirmation gate add real operational context that destructiveHint/idempotentHint do not convey. It stops short of saying whether the deletion is recoverable or what the response payload 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?

Three tight sentences, each carrying a distinct fact: what is deleted, who gets told, and the access/confirmation constraints. The purpose is front-loaded before the side-effect detail, and the parenthetical gloss on 'availability request' earns its place by disambiguating the term.

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?

With an output schema present, the description needn't explain returns, and it covers the remaining ground an agent needs: scope of destruction, notification consequences, permission requirement, and the confirmation flow. Nothing material is missing for a destructive three-parameter tool.

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 description coverage is 100% and the schema already explains request_id's origin, the organization_id default, and the two-step confirmation_token flow. The description adds no parameter-level detail beyond that, 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 ('Delete an availability request') and extends it with the cascade effect ('and its responses'), so the agent knows the blast radius immediately. The parenthetical clarification of what an availability request is distinguishes it from generic siblings like delete_availability or delete_event.

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?

Gives the conditions that matter: CRM-manager permission and the confirmation gate, plus an implicit distinction between deleting a sent (OPEN) request and an unsent draft. It never names an alternative tool (e.g. list_availability_requests to find the id, or delete_availability) or states when not to use it, so it falls short of explicit routing.

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.