Skip to main content
Glama

Delete record

delete_record

Remove a wrong or duplicate pet care record by ID from a specified collection so your local JSON logs stay accurate and current.

Instructions

Remove one wrong or duplicated record by id.

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": {
      "collection": "<collection>",
      "id": "<id>"
    },
    "name": "delete_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord id from a previous add/list result.
collectionYesOne of: pets, vet_visits, medications, weights, feeding_notes, handoff_notes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses scope ('one record') and the corrective intent, but omits whether deletion is permanent/irreversible, whether confirmation or specific permissions are required, and what happens to related data.

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?

A single short sentence, front-loaded with the verb and scoped by 'one wrong or duplicated record by id'. No redundant phrasing.

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

Completeness3/5

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

For a destructive mutation tool with zero annotations and no output schema, this is thin: it explains what and roughly why, but not irreversibility, confirmation requirements, or post-delete effects. Adequate for selection, insufficient for confident invocation of a destructive action.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description reinforces single-record targeting 'by id', while the schema already supplies id provenance and the enumerated collection values. Little is left ambiguous.

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 (Remove) and resource (one record) with an explicit selection key (by id). Clear what the tool does, though it names no sibling to distinguish itself from — none of the listed siblings are deletion tools, so differentiation is unstated rather than wrong.

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?

'Remove one wrong or duplicated record' implies the intended use case (correcting mistakes or duplicates rather than bulk cleanup), but there is no explicit when-to-use/when-not, no mention of alternatives such as updating the record, and no prerequisites.

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