Skip to main content
Glama

updateEntity

Idempotent

更新已有实体的属性(位置、颜色、标签、缩放、可见性)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
showNo是否显示
colorNo新颜色(CSS 格式)
labelNo新标注文本
scaleNo新缩放比例
entityIdYes实体ID(addMarker/addPolyline 等返回的 entityId)
positionNo新位置坐标

TDQS

A4/5.0
Behavior3/5

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

Annotations already indicate the operation is not read-only, not destructive, and idempotent. The description adds the specific set of updatable properties but does not disclose additional behavioral details like error handling, partial update semantics, or what happens if the entity doesn't exist. With annotations covering the safety profile, this is adequate.

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 concise sentence that fully captures the tool's purpose and scope. No redundant words or fluff.

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?

For an update tool with a well-defined schema and annotations, the description is sufficient to understand the operation. It doesn't describe return values, but no output schema exists and for an update operation the return is often trivial. The main gap is lack of explicit error/edge-case behavior, but this is not critical for invoking the tool correctly.

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?

The schema provides full descriptions for all 6 parameters (100% coverage), so the description's enumeration of properties adds little beyond the schema. It doesn't provide extra context about parameter formats, defaults, or interactions between parameters.

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 uses a specific verb '更新' (update) with a clear resource '已有实体' (existing entity), and enumerates the properties it can modify: position, color, label, scale, visibility. This clearly distinguishes it from sibling add/remove tools.

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?

The phrase '已有实体' (existing entity) implies this tool is for modifying existing entities, not creating or removing them, which helps differentiate from add* and remove* siblings. However, it doesn't explicitly state when to use it over alternatives or mention any prerequisites.

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