Skip to main content
Glama

delete_entity

Deletes one entity from a specified Targetprocess resource by ID and reports what was deleted.

Instructions

Delete one entity of any resource (raw); reports what was deleted.

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": {
      "resource": "<resource>",
      "id": "<id>"
    },
    "name": "delete_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
resourceYesResource name (UserStory) or plural path (UserStories); see read_meta

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / id / type
      Added value: +"number"
  2. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a destructive operation. It mentions only that it 'reports what was deleted' and says nothing about irreversibility, permissions, cascade effects on relations/comments, or interaction with the available undelete/read_deleted siblings.

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?

One short sentence, front-loaded with the verb and scope, with no padding. The parenthetical '(raw)' is the only unclear fragment and does not obviously earn its place.

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

Completeness2/5

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

For an unannotated destructive tool with two required parameters and no output schema, the description is thin: it omits recoverability, required permissions, side effects on linked data, and any error behavior. A caller cannot confidently predict consequences from this text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: 'resource' is documented (name or plural path, see read_meta) but 'id' is a bare number. The description adds no meaning about what the id refers to (entity id vs something else) or format expectations, so it does not compensate for the coverage gap.

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?

States a specific verb (delete) and scope (one entity of any resource), and 'one entity' implicitly separates it from the bulk variant. The stray '(raw)' qualifier is unexplained and the sibling set is not named, so differentiation is inferential rather than explicit.

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 word 'raw' faintly signals this is a low-level generic path when no resource-specific delete tool applies, but no when-to-use/when-not guidance or prerequisites are stated. An agent must infer that it should prefer delete_card / delete_relation etc. for those resources.

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