Skip to main content
Glama

Avokata: Lithuanian law & court practice

Delete a matter

delete_matter
DestructiveIdempotent

Remove one matter and the provisions it was following. Does not delete the account — request_deletion is the only route for that.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_matter"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe matter's name to remove if you do not have the id.
matter_idNoThe id to remove. Pass this or name. This deletes one matter, not the account — use request_deletion for that.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is supplied; the description adds genuinely new behavior by disclosing the cascade — provisions the matter was following are also removed — which is not implied by the schema. It does not discuss reversibility or auth requirements, but that gap is modest given the destructive annotation.

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?

Two short sentences, zero filler, with the destructive scope front-loaded ahead of the sibling exclusion. Every clause carries information the agent needs.

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 description covers scope, cascade side effects, and the correct alternative for account deletion. A brief note on irreversibility or expected confirmation flow is the only notable omission.

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 both parameters (name, matter_id) are documented in-schema, including the "pass this or name" either/or rule. The description restates only that one matter is removed, adding no format, precedence, or lookup-ordering detail beyond the schema, so 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 ("Remove one matter") plus the cascade scope ("the provisions it was following"), and explicitly contrasts itself with request_deletion so the agent can distinguish it from that sibling without opening a schema.

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 a clear exclusion ("Does not delete the account — request_deletion is the only route for that"), which routes the agent correctly for account-level deletion. It does not state prerequisites such as confirmation or required ownership permissions, so it falls short of a full when/when-not treatment.

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