Skip to main content
Glama

observe

Capture the current browser viewport to analyze page content and guide subsequent automation actions.

Instructions

Plan a verb + target for an intent without executing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
llmNoUse Claude (needs ANTHROPIC_API_KEY).
forceNoBypass cache.
leaseNoOptional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env.
intentYesNatural-language intent.
sessionNoOptional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The description adds the key behavior that the tool plans without executing, which is important safety context. However, with only openWorldHint as an annotation, the description does not disclose caching behavior, the optional LLM dependency, or what happens to lease/session state, leaving part of the behavioral burden on the schema descriptions.

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?

A single sentence with no filler, focused on the core purpose and key limitation. It is appropriately sized and the main idea is front-loaded.

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?

With no output schema and only a bare description, an agent cannot tell what shape the planned 'verb + target' takes, how to consume the return value, or how to chain observe into a later execution step. The description gives the gist but leaves critical operational details undocumented.

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%, so baseline is 3. The description only mentions 'intent' generically and adds no additional detail about llm, force, lease, or session; all parameter semantics are already in the schema.

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?

The description states a specific verb ('plan') and a clear resource ('verb + target for an intent'), and the phrase 'without executing' distinguishes it from execution-focused siblings like click or type. It does not explicitly call out a sibling that does the same thing, so it does not fully achieve the 5-level distinction.

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 explicit guidance on when to use this tool versus alternatives, no excluded scenarios, and no condition such as 'use this before act' or 'instead of explore'. The 'without executing' clause implies a planning use-case, but that is not enough actionable guidance for an agent selecting among many similar planning/observation tools.

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