Skip to main content
Glama

addLabel

为 GeoJSON 要素添加文本标注(显示属性值)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesGeoJSON FeatureCollection 对象
fieldYes用作标注文本的属性字段名(如 "name"、"population")
styleNo标注样式(font, fillColor, outlineColor, scale 等)

TDQS

B3.4/5.0
Behavior2/5

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

Annotations indicate readOnlyHint=false and other hints are false, but the description adds no additional behavioral context. It does not explain whether the input data is modified, whether labels are temporary or persistent, or what happens to existing labels. With annotations present, the description still provides little beyond the fact that it 'adds' labels.

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, front-loaded sentence that directly conveys the tool's purpose. There is no unnecessary verbiage, and it is easy to scan.

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?

While the schema is detailed, the description is too thin for a mutation tool with no output schema. It lacks information about what the tool returns, how it interacts with the GeoJSON data, or any prerequisites. The user is left without a clear picture of the tool's full behavior.

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 parameters are well documented. The description adds the link between the 'field' parameter and the displayed attribute value, which reinforces the schema but does not significantly increase understanding beyond it.

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?

The description clearly states the tool adds text labels to GeoJSON features and displays attribute values. This distinguishes it from sibling tools like addMarker or addPolygon, as it specifies both the resource (GeoJSON features) and the action (adding text annotations).

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?

The description implies usage when text labels are needed on GeoJSON features, but it does not explicitly state when to use this tool over alternatives like addBillboard or addMarker. There is no mention of exclusions or competing tools, so the guidance is only implicit.

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.

TDQS

C2.9/5.0
Disambiguation3/5

Multiple tools share conceptual boundaries (e.g., addMarker vs addBillboard vs addLabel, addPolyline vs addCorridor vs addWall, flyTo vs setView), though descriptions clarify most cases. The overlap is notable given the large tool count.

Naming Consistency4/5

All tools use lowerCamelCase with a consistent verb-first pattern (add*, load*, set*, remove*, update*). Some generic verbs like control and update are reused, but the naming is predictable and readable.

Tool Count2/5

43 tools is well beyond the recommended range. Many add* functions for different primitive types could be consolidated into one entity-creation tool, reducing bloat and cognitive load without sacrificing capability.

Completeness4/5

The tool set offers strong coverage across entities, layers, camera controls, and animations. Minor gaps include lack of entity information retrieval and direct geometry re-editing, but core workflows are well supported.

Resources