Skip to main content
Glama

Get one pet species

get_pet
Read-onlyIdempotent

Returns the details of one pet species by its slug (for example "dragon"). Use list_pets to see the slugs.

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": {
      "slug": "<slug>"
    },
    "name": "get_pet"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe species slug from list_pets: lower-case letters, digits and hyphens, for example "frost-fox".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered by structured data. The description adds the useful discovery path via list_pets but says nothing about what happens for an unknown slug or what shape the returned details take. With annotations carrying the behavioral load, this is adequate rather than rich.

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

Conciseness5/5

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

Two short sentences, with the core behavior front-loaded and the dependency on list_pets stated second. No filler or restatement of the title.

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

Completeness4/5

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

For a single-parameter, annotated, read-only lookup, the definition covers purpose, input source and alternative tool. The only real gap is that no output schema exists and the description doesn't hint at which detail fields are returned, though that is minor for a simple getter.

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

Parameters3/5

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

Schema coverage is 100% and the schema itself documents the slug format (lower-case letters, digits, hyphens) with an example. The description's example ('dragon') and its pointer to list_pets as the slug source add marginal value beyond the schema, so the baseline of 3 applies.

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

Purpose5/5

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

The description states a specific verb and resource ('Returns the details of one pet species') and scopes it to a single item keyed by slug. It also names the sibling list_pets, so an agent can distinguish a single-species lookup from the listing tool without opening either schema.

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

Usage Guidelines4/5

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

It explicitly routes the agent to list_pets when slugs are unknown, which is the main ambiguity for this tool. It does not state any when-not conditions (e.g., that it should not be called in a loop to enumerate species), so it falls short of full when/when-not coverage.

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.

Resources