Skip to main content
Glama

clear_annotations

Idempotent

Remove all annotations from the current web page to reset the browser view for clean demos, screenshots, or UI checks.

Instructions

[Cinematic Engine] Remove all annotations from the page.

Returns: {"success": True, "message": "Cleared all annotations"}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is mostly carried by structured data. The description adds the meaningful detail that removal is bulk ('all') and includes the return payload, but says nothing about behavior when no annotations exist, whether the page/screenshot state is otherwise affected, or any error conditions. There is mild tension between 'Remove all annotations' and destructiveHint=false, but for a page-state cleanup operation this reads as intentional rather than contradictory, so it is not flagged.

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?

Two lines, front-loaded with the action, no filler. The 'Returns:' block is slightly redundant because an output schema already exists, which keeps this from a 5, but it is short enough not to be wasteful.

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 a zero-parameter, idempotent cleanup tool with full annotations and an output schema, the description gives enough to invoke it correctly: what is removed, at what scope, and what comes back. The only gap is interaction context with the sibling 'annotate' tool (e.g. whether this is needed between capture steps), which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter meaning to convey; the baseline of 4 applies. The description correctly describes the operation as page-scoped and unconditional, which is the only 'parameter-like' semantics an agent needs.

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

Purpose4/5

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

States a specific verb and resource ('Remove all annotations from the page') plus a scope qualifier ('all'), which distinguishes it from sibling clear / clear_mocks / clear_spotlight by resource. It does not, however, explicitly name which sibling to use for the non-annotation cleanup cases, so the differentiation is inferred from the noun rather than stated.

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?

Usage is only implied: the agent can infer that this is the cleanup counterpart to 'annotate' and that it should be preferred over the other clear_* tools when the target is annotations. There is no explicit when-to-use, when-not-to-use, or precondition (e.g. 'call after annotate when the overlay should be reset').

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