Skip to main content
Glama

Petstore MCP Server

addPet

Add a new pet to the store. - Add a new pet to the store.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addPetBodyYes
x-hapi-auth-stateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / addPetBody
      Added value: +{
      +  "properties": {
      +    "category": {
      +      "properties": {
      +        "id": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "id": {
      +      "format": "int64",
      +      "type": "integer"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "photoUrls": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "pet status in the store",
      +      "enum": [
      +        "available",
      +        "pending",
      +        "sold"
      +      ],
      +      "type": "string"
      +    },
      +    "tags": {
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "format": "int64",
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "photoUrls"
      +  ],
      +  "type": "object"
      +}
    • removedInput schema / properties / body
      Removed value: -{
      -  "properties": {
      -    "category": {
      -      "properties": {
      -        "id": {
      -          "format": "int64",
      -          "type": "integer"
      -        },
      -        "name": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "id": {
      -      "format": "int64",
      -      "type": "integer"
      -    },
      -    "name": {
      -      "type": "string"
      -    },
      -    "photoUrls": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "status": {
      -      "description": "pet status in the store",
      -      "enum": [
      -        "available",
      -        "pending",
      -        "sold"
      -      ],
      -      "type": "string"
      -    },
      -    "tags": {
      -      "items": {
      -        "properties": {
      -          "id": {
      -            "format": "int64",
      -            "type": "integer"
      -          },
      -          "name": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "name",
      -    "photoUrls"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "body"
      -]New value: +[
      +  "addPetBody"
      +]
  2. First observed

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are present, and the description discloses no behavioral traits such as side effects, permissions, return values, or error conditions. It merely restates the tool's purpose, leaving the agent uninformed about the consequences of calling it.

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 description is redundant, repeating the same sentence twice with a separator. While short, the duplication wastes space and provides no additional insight, making it poorly structured.

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?

This tool has nested objects and required fields, yet the description provides none of the necessary context about the payload structure, required elements, or accepted values. With no output schema or annotations, the description is severely incomplete for an agent to invoke the tool 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?

The description mentions no parameters, and the schema has 0% description coverage. Required fields like name and photoUrls, along with nested objects and the status enum, are entirely unexplained, forcing the agent to guess their format and constraints.

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?

The description states a clear action ('Add a new pet to the store') with a specific resource (pet), which distinguishes it from sibling tools like updatePet or deletePet. However, it lacks scope details and the duplicated sentence adds no extra meaning.

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?

No guidance is provided on when to use this tool versus alternatives. The word 'new' implies creation, but there are no explicit exclusions, prerequisites, or comparisons to other pet-related tools.

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.