Skip to main content
Glama

Add a new pet to the store.

add_pet

Creates a new pet record in the store from supplied details including name, photo URLs, category, tags, and availability status.

Instructions

Add a new pet to the store.

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": {
      "body": "<body>"
    },
    "name": "add_pet"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/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 behavioral burden, yet it only implies a write operation. It says nothing about required fields, duplicate handling, ID assignment, authentication, or what is returned on success or failure. The single sentence establishes almost nothing beyond the obvious mutation semantics.

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

Conciseness3/5

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

One clean, front-loaded sentence with no filler, so nothing needs trimming. However, the brevity reflects under-specification rather than discipline, since there was room to add routing and payload context at no cost to clarity.

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 a create operation with no annotations, no output schema, and an undescribed nested request body, the description is far too thin. The structured Pet schema does document field shapes, which limits the damage, but an agent still lacks the behavioral context needed to call this confidently against its update siblings.

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 0%, with a single required 'body' parameter wrapping a nested Pet object (name, photoUrls, status enum, category, tags). The description adds no meaning about the payload, such as which fields the store honors or how 'status' defaults. The input schema is structurally detailed but the description does not compensate for the missing prose.

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?

Tautological: description restates name/title.

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 mention of alternatives like update_pet or update_pet_with_form, and no stated preconditions. An agent must infer from the name alone that this is the creation path rather than the update path. No exclusions or context are provided.

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