Skip to main content
Glama

add_annotation

Attach a text annotation to a CloudStack entity by specifying its ID and type, so you can store context or notes directly on VMs, hosts, domains, and other resources.

Instructions

Add an annotation to an entity

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entityid": "<entityid>",
      "entitytype": "<entitytype>",
      "annotation": "<annotation>"
    },
    "name": "add_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityidYesEntity ID
annotationYesAnnotation text
entitytypeYesEntity type (VM, HOST, DOMAIN, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and does not meet it. 'Add' implies a mutation, but nothing is said about permissions required, whether repeated calls append or overwrite, whether annotations are visible to other users, or what the response contains.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, but that brevity comes at the cost of under-specification rather than efficiency. There is no structure beyond the one clause.

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?

For a mutation tool with no annotations and no output schema, the description is too thin. An agent learns the target but not the write semantics, failure modes, or return behavior needed to invoke it confidently.

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%, with entityid, entitytype, and annotation all documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond that, such as accepted entitytype casing or annotation length limits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs the verb 'Add' with the resource 'annotation' and names the target ('an entity'), so the basic operation is graspable. But it is nearly a restatement of the tool name and offers no differentiation from the sibling 'remove_annotation' or any hint about what an annotation is in this system.

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?

There is no guidance on when to use this tool, when not to, or what the alternative is. The obvious counterpart 'remove_annotation' is never mentioned, and no preconditions (entity must exist, required permissions) are stated.

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

Deploy Server

Other Tools