Skip to main content
Glama

Updates a pet in the store with form data.

update_pet_with_form

Update a pet's name or status using submitted form data for a given pet ID.

Instructions

Updates a pet resource based on the form data.

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": "update_pet_with_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
petIdYes
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior2/5

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

With no annotations supplied, the description bears the full burden yet discloses almost nothing: it does not say whether omitted fields are cleared, which fields are actually mutable, whether the pet must already exist, or what authorization is required. The mutation intent is only implied by the verb "Updates."

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?

It is a single front-loaded sentence with no filler, so it is not bloated. However, the brevity comes from under-specification rather than efficiency, leaving the sentence nearly content-free.

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?

A mutation tool with no annotations, no output schema, and 0% parameter documentation needs the description to do heavy lifting, and it does not. An agent could not call this correctly or know how it differs from update_pet based on the definition alone.

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 three parameters, and the description compensates for none of it — petId being required, what values status accepts, and what name does are all left entirely unexplained. "Based on the form data" adds no meaning beyond the schema itself.

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?

"Updates a pet resource based on the form data" essentially restates the tool name and title ("Updates a pet in the store with form data") without adding scope or distinguishing it from the sibling update_pet. Only the verb+resource pair carries any information.

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 indication of when to use this tool rather than the sibling update_pet, nor any prerequisites. The phrase "form data" faintly hints at a different request encoding, but that distinction is never stated explicitly, so an agent must guess.

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