Skip to main content
Glama

MapScale

List saved styles

mapscale_styles_list
Read-onlyIdempotent

List the saved map styles in your MapScale account. Each can be loaded in MapLibre from its /styles/v1/st_ URL. Requires a secret (sk_) key and an API deployment with the styles endpoint.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new preconditions: a secret sk_ key and an API deployment that has the styles endpoint enabled. That is real operational context an agent would otherwise have to discover by failing a call. It omits whether results are paginated or capped.

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?

Three short sentences, front-loaded with purpose, then the practical output format, then prerequisites. Nothing is redundant and no sentence could be dropped without losing information.

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 zero-parameter list tool with no output schema, the description supplies enough to call it correctly and to use the result (URL pattern, auth key type, endpoint requirement). It does not describe the response fields beyond the URL pattern or indicate result-set size, which is a minor residual gap.

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?

The tool takes zero parameters, so the baseline is 4. The description adds no parameter detail because there is none to add, and instead documents the shape of the identifier (st_<id>) returned in style URLs, which is a small bonus.

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?

States a specific verb and resource ('List the saved map styles in your MapScale account'), which is unambiguous and distinct from geocoding/analysis siblings. It stops short of naming a sibling such as mapscale_style_url, so the differentiation is implied rather than explicit.

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 description implies usage by explaining that each item can be loaded in MapLibre from its /styles/v1/st_<id> URL, which signals the retrieval-then-render workflow. However, it never says when to prefer this over mapscale_style_url or other style-related siblings, and gives no exclusions.

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.