Skip to main content
Glama

Deletes a pet.

delete_pet

Remove a pet record by its integer ID from the API, use when a pet must be permanently deleted.

Instructions

Delete a pet.

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": {
      "petId": "<petId>"
    },
    "name": "delete_pet"
  }
}

Input Schema

NameRequiredDescriptionDefault
petIdYes
api_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.5/5.0
Behavior1/5

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

With no annotations provided, the description carries the full burden and discloses nothing. It does not state that deletion is destructive and irreversible, whether related records are affected, or that an api_key credential is required — all of which matter for a delete operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence contains no filler, but this is under-specification rather than conciseness; the entire definition is four words and is not front-loaded with any actionable detail.

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

Completeness1/5

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

For a destructive, credential-gated tool with zero annotation coverage, no output schema, and no parameter documentation, the description supplies none of the information an agent needs to call it safely or correctly.

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

Parameters1/5

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

Schema description coverage is 0% for two parameters. The description never mentions petId (the sole required field) or the api_key parameter, which appears to be a hidden authentication requirement that an agent could easily miss.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete a pet." is a verbatim restatement of the tool name delete_pet and the title "Deletes a pet." It names no scope, no identifier handling, and does nothing to distinguish it from sibling mutators such as delete_order or delete_user.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no preconditions, and no mention of alternatives (e.g., soft-delete vs. update_pet). The agent must infer everything from the name alone.

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