Skip to main content
Glama

Delete a task or a class

delete
DestructiveIdempotent

Delete a task or a class from DayHeart for good. This cannot be undone; in a shared group timetable the class disappears for the whole group.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIts id
kindYesWhat to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's job is to add blast-radius context — and it does, stating the deletion is permanent ('for good', 'cannot be undone') and that deleting a class removes it for the whole shared group timetable. It does not say what happens when the id does not exist (error vs silent success), which is the main remaining behavioral unknown for an idempotently-flagged delete.

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?

Two short sentences, front-loaded with the action and immediately followed by the consequence, with zero filler. Minor improvement would be an explicit note on which parameter selects the resource type, but the structure is efficient as written.

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?

For a two-parameter destructive tool with no output schema, the definition covers the essential user-facing consequences (irreversibility, group-wide effect on shared timetables). What is missing is only operational detail — behavior on unknown IDs and any permission requirements — which keeps it below the top mark.

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%, so both parameters (id and the kind enum of task/class) are already documented in the schema and the description does not need to repeat them. The description adds no format, ID-source, or cross-parameter hints beyond the schema, so the baseline of 3 applies.

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 description uses a specific verb (delete) plus the two resource types (task, class) and names the product, so an agent can tell exactly what this tool operates on. It stops short of differentiating itself from siblings such as change_tasks or get_tasks, but no competing delete tool exists in the visible set, so the routing risk is low.

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?

Usage is only implied: the description says what deletion does but never states when an agent should delete rather than modify (e.g. change_tasks) or when deletion is inappropriate. There are no prerequisites or confirmation requirements spelled out, which is a notable gap for a destructive operation.

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