Skip to main content
Glama

delete_activity

Destructive

Deletes an activity. IRREVERSIBLE. Resolves to null on success. IRREVERSIBLE: confirm with the user before calling.

Input Schema

NameRequiredDescriptionDefault
activityIdYesNumeric id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so irreversibility is partly covered, but the description reinforces it and adds genuinely new context: the operation returns null on success (valuable since there is no output schema) and a required user-confirmation step. It stops short of saying whether the activity is recoverable or what happens to dependent data like gear links.

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?

Short and front-loaded, but repeats 'IRREVERSIBLE' twice, once as a bare fragment and again mid-sentence. The duplication wastes space and reads as boilerplate rather than deliberate emphasis, so it falls short of a clean, waste-free statement.

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

Completeness4/5

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

With no output schema, the description correctly supplies the return behavior (null on success) and the destructive/confirmation requirement. For a single-parameter delete tool this is nearly complete; it would be fully complete with a note on recoverability or cascading effects.

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?

There is only one parameter (activityId) and schema description coverage is 100% ('Numeric id'), so the schema already carries the parameter documentation. The description adds nothing about the id format, yet accepts both integer and string per the schema, so an agent gets no extra clarification. Baseline 3 when the schema does the heavy lifting.

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 (Deletes) and resource (an activity) in the opening sentence, clearly separating it from the many sibling delete_* tools (delete_workout, delete_course, delete_weigh_in) and from the set_/update_ activity tools. An agent can identify the correct tool without opening the schema.

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 gives one actionable usage rule: confirm with the user before calling. However, it never states when to prefer this over alternatives (e.g., deleting an activity vs. clearing a description via set_activity_description) or what preconditions exist. Usage guidance is present but thin.

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.