Skip to main content
Glama

Delete Report Schedule

delete_report_schedule
DestructiveIdempotent

Delete a report schedule (DELETE /api/reports/custom-reports/schedules/{id}). DESTRUCTIVE — the recap stops and the schedule is gone (the saved report itself is untouched). To stop it temporarily, use update_report_schedule with is_active:false instead. Deleting the org digest stops the All Costs recap for every member. Team schedules can be deleted by their creator or an admin; a personal schedule only by its creator. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "schedule_id": "…", "confirm": true }.

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "delete_report_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side.
schedule_idYesThe schedule to delete (schedule_id from list_report_schedules).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint and non-readOnly, but the description goes well beyond them: it explains exactly what is removed (schedule and recap) versus preserved (the saved report), describes the four-part authorization gate including the org-wide write switch and scope, and states that failures name the missing precondition and should be relayed rather than retried.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Front-loaded with the destructive warning and the safer alternative before the permission and gating details. It is long, but nearly every clause carries operational consequence (scope impact, refusal behavior, key restrictions); the ALL-CAPS emphasis is justified for an irreversible write.

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?

For a two-parameter destructive write with no output schema, nothing material is missing: destruction semantics, permission model, gating requirements, failure behavior, and a usage example are all 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?

Schema coverage is 100%, so both schedule_id and confirm are already documented in the schema and baseline is 3. The description adds a concrete call example showing the required pairing of schedule_id with confirm:true, which reinforces the confirm gate beyond the individual field descriptions.

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 a report schedule) plus the underlying endpoint, and explicitly distinguishes it from update_report_schedule with is_active:false as the temporary-stop alternative. An agent can tell it apart from its closest sibling without opening either schema.

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?

Gives an explicit when-not path (use update_report_schedule with is_active:false to pause instead), spells out who may delete what (creator or admin for team schedules, creator only for personal), and warns that deleting the org digest affects every member's All Costs recap.

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.

Resources