Skip to main content
Glama

Petstore MCP Server

updatePetWithForm

Updates a pet in the store with form data. - Updates a pet resource based on the form data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
petIdYes
statusNo
x-hapi-auth-stateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / name / description
      Removed value: -"Updated name of the pet"
    • removedInput schema / properties / petId / description
      Removed value: -"ID of pet that needs to be updated"
    • addedInput schema / properties / petId / format
      Added value: +"int64"
    • changedInput schema / properties / petId / type
      Previous value: -"string"New value: +"integer"
    • removedInput schema / properties / status / description
      Removed value: -"Updated status of the pet"
    • addedInput schema / required
      Added value: +[
      +  "petId"
      +]
  2. First observed

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries full burden. It discloses the mutation (updates) but provides no details on prerequisites, error behavior, or response format. The second sentence is a paraphrase adding no behavioral insight.

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; the second sentence duplicates the first. It could be a single sentence. The repetition wastes space without adding information.

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 mutation tool with no annotations or output schema, the description should explain when to use form data vs JSON (updatePet), and any side effects. It fails to do either. The context is incomplete.

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%. The description does not describe any parameters, leaving name, status, and petId undefined. The only hint is 'form data', which is not enough to understand parameter semantics.

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 specific verb ('Updates') and resource ('pet'), and notes 'with form data', which differentiates it from sibling 'updatePet'. However, it does not explicitly mention the alternative, so it stops short of a 5.

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 guidance on when to use this tool versus updatePet or other alternatives. The description merely restates the function without providing decision criteria.

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.