Skip to main content
Glama

addGeoJsonPrimitive

Loads massive GeoJSON datasets directly as primitives, bypassing the entity system for high-performance rendering on a 3D globe.

Instructions

High-performance GeoJSON loading for massive datasets (100k+ features). Bypasses Entity system, renders directly via Primitives. data and url are mutually exclusive

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)
Behavior4/5

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

Annotations provide readOnlyHint=false and destructiveHint=false. Description adds performance trait, primitive rendering, and mutual exclusivity of data/url, which are not in annotations.

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 sentences that immediately convey core purpose and key constraint. No wasted words, front-loaded with most critical 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?

Description is brief but covers main differentiator (performance, entity bypass). Lacks mention of return value (likely layer id), but given no output schema, this is acceptable. Schema covers parameter details. Minor gap on sessionId and allowPicking defaults, but not critical.

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%, so each parameter has a description. Description adds no new parameter-level detail beyond the mutual exclusivity already noted in schema. Baseline score of 3.

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?

Clearly states it loads GeoJSON with high performance for large datasets, bypassing the Entity system. Distinguishes from addGeoJsonLayer which uses the entity system. Explicit verbs and resource.

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?

Implicitly indicates use for massive datasets needing performance, bypassing entity system. No explicit when-not or alternative names, but contrasting rendering approach provides context.

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