Skip to main content
Glama

get_style

Fetch a hosted style's latest theme document (the editable source) and the URL of its latest compiled MapLibre style. Use the theme to inspect current palette and layer overrides before editing.

Input Schema

NameRequiredDescriptionDefault
style_idYesHosted style id, e.g. "midnight-fleet-a1b2c3".

Output Schema

NameRequiredDescriptionDefault
themeYesThe latest theme document, the editable source the next version is published from.
style_idYesHosted style id.
style_urlYesURL of the latest compiled MapLibre style (point MapLibre GL at it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / theme / description
      Previous value: -"The latest theme document — the editable source the next version\nis published from."New value: +"The latest theme document, the editable source the next version\nis published from."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. "Fetch" implies a read-only operation and it clarifies that the theme document is the editable source while the MapLibre style is a compiled artifact, but there is no explicit statement about side effects, permissions, or rate limits.

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 tight sentences with zero filler, front-loading what is returned before the usage hint. Every clause earns its place.

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 one fully documented parameter and an output schema covering return values, the description is essentially complete for an agent to call it correctly. It omits error/not-found behavior and any sibling routing, which are minor gaps for a simple fetch.

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 style_id parameter is already documented with a concrete example, so the schema does the heavy lifting. The description adds no syntax, format, or default details beyond what the schema provides, making the baseline 3 appropriate.

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 (Fetch) and a precisely scoped resource (a hosted style's latest theme document plus the URL of its latest compiled MapLibre style). This cleanly separates it from siblings like create_style, set_palette, list_style_layers, and check_style_contrast without ambiguity.

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?

"Use the theme to inspect current palette and layer overrides before editing" gives a clear read-before-write workflow context. It does not name alternative tools (e.g. list_style_layers) or state when not to use it, so it stops short of full when/when-not guidance.

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