Skip to main content
Glama

webpt_click

Clicks a numbered element on the current WebPT page so AI agents can act on elements identified during the last page read.

Instructions

Click a numbered element on the current WebPT page.

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": {
      "element": "<element>"
    },
    "name": "webpt_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementYesElement number from the last read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/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 delivers little: it does not say whether a click may navigate away, submit a form, mutate server state, or what happens with a stale element number. For a browser-automation action that can trigger irreversible side effects, the absence of any disclosure of consequences or failure modes is a real gap.

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?

One sentence, front-loaded with the action and target, with no redundant wording. It is efficient, though its brevity borders on under-specification rather than tight editing.

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 side-effect-capable tool with zero annotations and no output schema, the description omits the essentials: that a page must be opened/read first (webpt_open, webpt_read), that element numbers are only valid until the next read, and what the agent should expect after the click. An agent could easily call it with a stale index or without an active page.

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 already documents the single parameter at 100% coverage ("Element number from the last read"), so the schema does the heavy lifting. The description's word "numbered" loosely reinforces the link to the prior read, but adds no constraint, range, or format detail beyond the schema — baseline 3.

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 gives a specific verb ("Click") and a specific target ("a numbered element on the current WebPT page"), so the agent knows exactly what action is performed and on what object. It stops short of 5 because it does not distinguish this from siblings like webpt_type or webpt_read, leaving the agent to infer the boundary itself.

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 phrase "on the current WebPT page" hints that a page/read must precede the call, but there is no explicit statement of prerequisites or when to prefer clicking over typing into a field (webpt_type). No when-not guidance or named alternative is provided.

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