Skip to main content
Glama

hands_perceive

Read-onlyIdempotent

Opens a URL or installs a fake web, then returns a numbered map of interactive elements so agents can target the correct element for governed actions without clicking or typing.

Instructions

Look at a page before touching it: open a URL on the session's browser body (or install a fake web via 'pages') and return the numbered element map, where every interactive element is listed with a number. Those numbers are the only valid targets for hands_act. Perceiving never clicks or types anything; use hands_act for a single governed action, or hands_run to execute a whole scripted sequence.

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": "hands_perceive"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe page to open and map. Omit it when installing a fake web via 'pages' (the fake web's start page is used).
pagesNoA fake web to install instead of opening a real URL: an object mapping page names to page definitions (the demo/testing body). Mutually exclusive with browsing a live site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.3
    • addedInput schema / properties / pages / description
      Added value: +"A fake web to install instead of opening a real URL: an object mapping page names to page definitions (the demo/testing body). Mutually exclusive with browsing a live site."
    • addedInput schema / properties / url / description
      Added value: +"The page to open and map. Omit it when installing a fake web via 'pages' (the fake web's start page is used)."
  2. First observedv0.9.2

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare the read-only, idempotent, non-destructive, and open-world profile. The description adds useful behavioral context by specifying that it opens a page in the session's browser and returns a numbered element map whose numbers are the only valid targets for hands_act. It does not cover persistence or session state changes in detail, but it adds substantial value beyond the annotations.

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 definition is three tight sentences, front-loading the core action and output before explaining sibling routing. Every sentence contributes useful context without repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only tool with rich annotations and no output schema, the description supplies what an agent needs: what it does, what it returns, which targets become valid, and when to use sibling tools instead. No critical behavior for correct invocation is missing.

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 the schema already documents both parameters and their mutual exclusivity. The description reinforces the URL-versus-pages choice and notes that the fake web's start page is used, but it does not add much parameter meaning beyond what the schema provides.

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 and resource: it opens a URL or installs a fake web, then returns the numbered element map. It clearly distinguishes this perception step from hands_act and hands_run, so an agent can identify the tool's role without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says to use this tool before touching a page and states that perceiving never clicks or types. It also names the alternatives: hands_act for a single governed action and hands_run for a scripted sequence, giving clear routing guidance.

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