Skip to main content
Glama

addPolyline

Add a polyline path on a 3D globe. Specify coordinates, color, width, clamp-to-ground, and label. Returns the entity ID for further manipulation.

Instructions

Add a polyline on the map (path/line segment), returns entityId

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coordinatesYesPolyline coordinates array [[lon, lat, height?], ...]
colorNoLine color (CSS format)#3B82F6
widthNoLine width (pixels)
clampToGroundNoWhether to clamp to ground
labelNoPolyline label text
sessionIdNoTarget browser session ID for multi-browser routing (optional)
Behavior3/5

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

Annotations already indicate non-read-only, non-destructive behavior. The description adds minimal context by stating that it returns an entityId, but does not detail side effects, permissions, or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence front-loads the core purpose. It is concise, though could be slightly expanded for completeness without becoming verbose.

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

Completeness3/5

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

Given the tool's complexity (6 parameters, no output schema) and existing detailed schema descriptions, the brief description is adequate but missing high-level context such as coordinate system or use of the returned entityId.

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?

Input schema covers 100% of parameter descriptions, so the description adds no additional meaning. Baseline 3 is appropriate.

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?

Description clearly states 'Add a polyline on the map (path/line segment)' with a specific verb and resource, distinguishing it from sibling tools like addMarker or addPolygon. It also mentions returning an entityId.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives such as addPolygon or addMarker. The description does not specify any prerequisites or exclusions.

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