Skip to main content
Glama
tribeunal

Tribeunal Decision-Making Platform

Official

Delete case

tribeunal_delete_case
Destructive

Permanently delete an inactive case with no votes or verdict, removing all associated data. Use for cases that never started; otherwise close them instead.

Instructions

Permanently delete a case you own (or as admin) — only while it is jury_selection or open, no vote has ever been cast on it (a revoked vote still counts as history), and no verdict exists; otherwise 409 case_in_use, meaning close it with tribeunal_close_case instead. Erases the case along with its jury seats, comments, evidence marks, ratings, activity feed and pending jury invitations — irreversible. Returns {deleted: true, uuid}. Use this only for a case that never really started; one with history should be closed, not deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseIdYesThe case's uuid field, from tribeunal_get_case or tribeunal_search_cases.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.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 irreversibility, the full set of associated data erased, the edge case that revoked votes still count as history, and the error response. This is exactly the kind of behavioral context an agent needs for a destructive operation.

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?

The description is dense but every sentence earns its place: purpose, conditions, failure mode, alternative, side effects, return shape, and usage rule. It is front-loaded with the core action and conditions, with supporting details following in a logical order.

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 destructive single-parameter tool, this covers all necessary context: auth requirements, state constraints, error behavior, side effects, irreversibility, and return shape. There is no output schema, but the description states what the tool returns, so nothing critical is missing.

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 schema already covers the sole parameter with a precise UUID pattern and source guidance from tribeunal_get_case or tribeunal_search_cases. The description adds little parameter-specific meaning, but no compensation is needed because schema coverage is 100%.

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?

The description states a specific verb and resource: permanently delete a case. It clearly distinguishes deletion from closing a case, and conditions like ownership or admin role add precise scope. An agent can immediately understand what this tool does and how it differs from tribeunal_close_case.

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?

The description gives explicit when-to-use conditions: only in jury_selection or open, no votes ever cast, no verdict. It explicitly names the alternative (tribeunal_close_case) and the error case (409 case_in_use), plus a general rule: use only for cases that never really started.

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