Skip to main content
Glama

Swapi Search People

swapi_search_people
Read-onlyIdempotent

Search Star Wars characters by name. Returns name, physical attributes, birth year, gender, and homeworld URL.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Luke"
    },
    "name": "swapi_search_people"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesCharacter name to search for (e.g., "Luke")

Output Schema

NameRequiredDescriptionDefault
countYesTotal count of matching characters
resultsYesList of matching characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare read-only, open-world, idempotent, non-destructive behavior, so safety is covered. The description adds a list of returned fields, but that is largely duplicated by the output schema and it omits the behavior that matters for a search tool: whether matching is exact or substring, case sensitivity, and any result cap.

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, verb and resource front-loaded, return fields trailing. No filler or redundant framing.

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?

With an output schema present and rich annotations, the description does not need to explain returns or safety. It is nearly complete for a one-parameter read tool, with the only real gap being match semantics for the name query.

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 single 'query' parameter already carries a description and examples, so the schema does the heavy lifting. The description adds nothing about the query string beyond 'by name', which is baseline 3 territory.

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?

States a specific verb and resource ('Search Star Wars characters by name') and scopes it to the people/character domain, which clearly separates it from the get_film / get_planet / get_starship siblings.

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

Usage Guidelines3/5

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

The phrase 'by name' implies the intended lookup mode, but the description never says when to use this versus the get_* lookups or what to do if no match is found. Usage is implied rather than stated.

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.