Skip to main content
Glama

Location

location
Read-onlyIdempotent

Single location by id.

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
idNoLocation unique identifier
urlNoAPI URL for this location
nameNoLocation name
filmsNoArray of film IDs
climateNoClimate description
terrainNoTerrain description
residentsNoArray of resident IDs
surface_waterNoSurface water percentage

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "6e173f76-584d-4255-bb08-b42b8d1d91d0"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "climate": {
      +      "description": "Climate description",
      +      "type": "string"
      +    },
      +    "films": {
      +      "description": "Array of film IDs",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "id": {
      +      "description": "Location unique identifier",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Location name",
      +      "type": "string"
      +    },
      +    "residents": {
      +      "description": "Array of resident IDs",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "surface_water": {
      +      "description": "Surface water percentage",
      +      "type": "string"
      +    },
      +    "terrain": {
      +      "description": "Terrain description",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "API URL for this location",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, fully conveying the safety profile. The description adds no extra behavioral context such as response format, rate limits, or prerequisites. Since annotations carry the burden, this is acceptable but not enhanced.

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 a single short sentence, 'Single location by id.', with no filler words or repetition. It is maximally concise and front-loaded, appropriate for a trivial lookup tool.

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?

Given the tool's simplicity (one parameter), the presence of an output schema, and rich annotations, the description covers the essential purpose. It doesn't explain return values, but the output schema makes that unnecessary. The main gap is lack of usage context, but that is already reflected in the usage_guidelines score.

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 only parameter 'id' is documented in the schema with type string and an example. The description's 'by id' adds minimal semantic clarity that this is the location identifier. With only one parameter and schema examples present, the description provides basic but sufficient compensation for the 0% schema description coverage.

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 'Single location by id' clearly indicates the tool retrieves one location based on an identifier. Its singular form distinguishes it from sibling 'locations', which presumably lists multiple locations, and the 'by id' phrase specifies the access pattern. It lacks an explicit verb but is unambiguous.

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 guidance is given on when to use this tool versus alternatives. The description implies it is for looking up a specific location when an id is available, but it doesn't mention alternatives like 'locations' for listing or other relevant tools. There are no exclusions or context cues.

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.