Skip to main content
Glama

addGeoJsonPrimitive

Render GeoJSON as Cesium primitives to handle large browser datasets with high performance.

Instructions

Render GeoJSON as Cesium primitives for large browser datasets. Returns { success: boolean, data?: unknown, message?: string, error?: string }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoLayer ID (auto-generated if omitted)
urlNoGeoJSON file URL (mutually exclusive with data)
dataNoGeoJSON object (mutually exclusive with url)
nameNoLayer display name
showNoWhether to show (default true)
sessionIdNoTarget browser session ID for multi-browser routing (optional)
allowPickingNoAllow picking (default true, disable for better performance)
Behavior3/5

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

Annotations indicate it is not read-only and not destructive, but the description does not elaborate on side effects, such as whether it replaces existing primitives or is additive. It does mention the return type structure, which adds context, but overall behavioral traits beyond annotations are minimal.

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 sentence plus return type annotation. Every word adds value: it specifies the action, resource, primary use case, and expected output. No redundancy or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 7 parameters, many sibling tools, and no output schema, the description is too sparse. It does not explain the lifecycle of added primitives, interaction with other layers, or how this tool fits into the broader workflow. The return type is given but without explanation of conditions for success/error.

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 description coverage is 100%, so all parameters have inline documentation. The description adds no additional parameter meaning; it omits noting the mutual exclusivity of 'url' and 'data' or the auto-generation of 'id'. Baseline 3 is appropriate as the schema already does the needed work.

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 clearly states the tool renders GeoJSON as Cesium primitives and mentions large dataset suitability. However, it does not distinguish the tool from its sibling 'addGeoJsonLayer', which likely adds GeoJSON as a layer. The verb 'Render' and resource 'GeoJSON as Cesium primitives' are specific.

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 guidance is implied via 'for large browser datasets', suggesting use when performance is a concern, but no explicit comparison with sibling tools (e.g., addGeoJsonLayer) or conditions for use are provided. No when-not-to-use or alternatives mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gaopengbin/cesium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server