Skip to main content
Glama

get_layer_detail

Read-onlyIdempotent

Get full metadata for a single layer: download URLs (parquet, pmtiles, geojson, kml, shapefile), attribution, license, feature count, level metadata, realm (below, ground or air), lookups (the section of ground_at or surface_at that reads it, if any), and versions (the dated releases to cite).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "layer_id": "<layer_id>"
    },
    "name": "get_layer_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
layer_idYesLayer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is fully covered. The description adds useful cross-tool context — that `lookups` identifies the ground_at or surface_at section that reads this layer — but says nothing about error behavior for an unknown layer_id, payload size, 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?

A single front-loaded sentence with the verb and resource first, followed by a dense but all-substantive field list. No repetition of the title, no filler, and the parenthetical explanations for lookups and versions are the only elaboration, both warranted.

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 no output schema, the description must characterize the return value and does so thoroughly by enumerating the returned fields. Minor gaps remain: nothing about what happens for an invalid/nonexistent layer_id, and no pointer to where a valid layer_id comes from, but for a single-param read tool this is close to complete.

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?

One required parameter at 100% schema coverage, where the schema already says 'Layer ID'. The description adds no format, provenance (e.g., obtained from list_layers), or example value for layer_id, so it does nothing beyond the schema baseline.

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?

Specific verb ('Get') plus resource ('full metadata for a single layer') with an enumerated payload — download URLs, attribution, license, feature count, level metadata, realm, lookups, versions. That payload list implicitly separates it from get_layer_schema (schema only) and query_layer (data rows), but no sibling is named explicitly.

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?

No explicit when-to-use or when-not-to-use statement and no named alternative. The only guidance is implicit: the 'versions (the dated releases to cite)' note hints at citation workflows, and mentioning lookups implies cross-referencing with ground_at/surface_at, but the agent must infer this.

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.