Skip to main content
Glama
cityjson-mcp

cityjson-mcp

by Yarroudh

Inspect CityJSON

cityjson_info

Inspect an opened CityJSON dataset to retrieve metadata, object counts, types, LoDs, attribute names, transforms, and extensions.

Instructions

Return metadata, object counts, types, LoDs, attribute names, transform and extensions for an opened dataset.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "cityjson_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesFilename returned by cityjson_open, cityjson_import, or a transformation. Internal dataset handles also work for compatibility.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / properties / dataset_id / description
      Previous value: -"Dataset handle returned by cityjson_import, cityjson_open, cityjson_import_text, or another transformation tool."New value: +"Filename returned by cityjson_open, cityjson_import, or a transformation. Internal dataset handles also work for compatibility."
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read via 'Return', but never states that the call is non-destructive, has no side effects on the dataset, or whether it is expensive on large files. Beyond listing the fields returned, it discloses nothing about the operation's behavior.

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 sentence with the action front-loaded and every element of the returned payload enumerated; nothing is redundant or padded.

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?

There is no output schema, so the description must, and does, enumerate what comes back (metadata, counts, types, LoDs, attributes, transform, extensions). For a one-parameter read tool this is nearly complete; only the read-only/non-destructive guarantee and the open-first prerequisite are missing.

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?

With one parameter and 100% schema description coverage, the schema already explains that dataset_id is a filename from cityjson_open/import or a transformation handle. The description adds only the 'opened dataset' framing, which is a marginal restatement rather than new meaning.

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?

A specific verb (Return) plus the exact resource (metadata for an opened dataset) and an enumerated payload: object counts, types, LoDs, attribute names, transform and extensions. An agent can distinguish it from cityjson_list_objects or cityjson_get_object, though the description never names those siblings to sharpen the distinction.

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?

Usage is only implied by the phrase 'for an opened dataset', which hints at the prerequisite that cityjson_open/import must run first, but this is never stated as a condition. No guidance is given on when to prefer this inspection call over cityjson_list_objects, cityjson_query, or cityjson_backend_status.

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