Skip to main content
Glama

Star Wars MCP

Server Details

Star Wars API (SWAPI) as a remote MCP server: films, people, planets, species, starships, vehicles.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
eldermoraes/swapi.build
GitHub Stars
3
Server Listing
swapi-build

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.4/5 across 4 of 4 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool performs a distinct operation: fetch by ID, list all, random selection, and search by name. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tools follow a consistent 'sw_' prefix with a simple verb: get, list, random, search. This uniform pattern makes the tool set predictable and easy to navigate.

Tool Count5/5

With only 4 tools, the set is compact and well-scoped for reading Star Wars resource data. Each tool earns its place without unnecessary redundancy.

Completeness5/5

The tool set covers the core read-only operations for a Star Wars API: retrieving a specific entity, listing all entities, searching, and random access. There are no obvious gaps for the expected use case.

Available Tools

4 tools
sw_getA
Read-onlyIdempotent
Inspect

Gets one Star Wars entity by numeric id. Ids are the record ids from each entity's url field (e.g. FILMS id 1 = A New Hope). Returns a JSON object.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesNumeric record id (from the entity's url field)
resourceYesResource type
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering safety. The description adds value by explaining how ids map to urls and that the return is a JSON object, enhancing behavioral understanding beyond annotations.

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 concise sentences with the main action front-loaded. The example is directly relevant and no words are wasted.

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

Completeness5/5

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

For a simple two-parameter tool with no output schema, the description fully covers purpose, parameter semantics, and return type. No additional behavioral or contextual details are necessary.

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

Parameters4/5

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

Schema description coverage is 100%, so parameters are already documented. The description adds a concrete example (FILMS id 1 = A New Hope) that reinforces the relationship between id and url field, going beyond schema basics.

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 clearly states the verb 'Gets', the resource 'Star Wars entity', and the scope 'by numeric id'. It distinguishes itself from siblings (list, random, search) by focusing on exact id lookup.

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 provides clear context on when to use (when you have a numeric id from an entity's url field) and gives a concrete example. It doesn't explicitly exclude alternatives, but the id-based use case is well established.

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

sw_listA
Read-onlyIdempotent
Inspect

Lists all entities of a Star Wars resource type from swapi.build. Returns a JSON array.

ParametersJSON Schema
NameRequiredDescriptionDefault
resourceYesResource type
Behavior4/5

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

The description adds context beyond annotations by specifying the data source (swapi.build) and the return format (JSON array). Annotations already declare it read-only, idempotent, and non-destructive, so the additional details about output and origin provide meaningful transparency.

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?

The description is two sentences with no redundant information. It front-loads the action and resource, then states the return type. Every word earns its place.

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

Completeness5/5

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

Given the simple one-parameter tool, complete schema coverage, and strong annotations, the description is sufficient. It clearly states what the tool does (lists all entities) and what it returns (JSON array), with no critical missing information for typical usage.

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?

The schema provides 100% coverage of the only parameter 'resource', including its enum and description. The tool description merely uses the phrase 'resource type', which adds no new meaning beyond the schema. This aligns with the baseline score of 3.

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 uses the specific verb 'Lists' and identifies the resource type as the subject, clearly distinguishing this as a list-all operation. It distinguishes from siblings like sw_get (single entity), sw_search (filtered), and sw_random by stating 'all entities'.

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?

The phrase 'Lists all entities' establishes clear context for when to use this tool (when you need the full collection), and the absence of filtering criteria implies that sw_search is for targeted queries. However, it does not explicitly name alternatives or provide when-not-to-use guidance.

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

sw_randomA
Read-only
Inspect

Returns one random Star Wars entity of the given resource type. Great for live demos. Returns a JSON object.

ParametersJSON Schema
NameRequiredDescriptionDefault
resourceYesResource type
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds that it returns a JSON object, but does not describe additional behavioral aspects such as error handling, rate limits, or the exact structure of the return value. It is adequate but not 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?

The description is succinct, front-loading the core action in the first sentence. The additional sentence about JSON object output is slightly redundant but not wasteful. Overall, it is appropriately sized with no fluff.

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

Completeness5/5

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

For a simple one-parameter tool with read-only and non-destructive annotations, the description is complete. It explains the random-selection behavior, the resource type input, a primary use case (live demos), and the return format, covering all necessary context.

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?

The input schema provides full coverage for the single 'resource' parameter, including an enum and description ('Resource type'). The description does not add meaningful parameter semantics beyond what the schema already specifies, 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 clearly states the tool's function: 'Returns one random Star Wars entity of the given resource type.' It uses a specific verb ('Returns') and identifies the resource type as the key parameter. The random nature distinguishes it from siblings like sw_get, sw_list, and sw_search.

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?

The phrase 'Great for live demos' provides a clear use case, implying use when a random sample is needed. However, it does not explicitly mention alternatives or when not to use this tool, so it falls short of a full 5.

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

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    MCP server for querying the Star Wars universe via the SWAPI API, providing access to characters, films, starships, vehicles, species, and planets.
    Last updated
    ISC
  • F
    license
    B
    quality
    B
    maintenance
    A Model Context Protocol server that exposes Star Wars API data as MCP tools. It enables users to list available categories and retrieve character information.
    Last updated
    3
    728
  • A
    license
    -
    quality
    C
    maintenance
    Provides access to the SWAPI Star Wars API, enabling users to query characters, planets, films, species, vehicles, and starships with automatic pagination and caching.
    Last updated
    33
    10
    MIT

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.