Skip to main content
Glama

page actions

page_actions
Read-only

Page action map for browser automation: every form (fields, labels, required flags), button and link on a page with ready CSS selectors, so an agent can plan clicks and form fills before opening a browser. Costs $0.005 USDC per call (x402).

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": {
      "url": "<url>"
    },
    "name": "page_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
max_linksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already convey readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds value beyond that by disclosing a concrete cost ($0.005 USDC per call via x402) and the shape of the payload returned (forms with fields/labels/required flags, buttons, links with selectors).

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?

Two tightly written sentences that front-load the core output and then add cost. No filler or redundancy.

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?

With no output schema, the description carries the return-shape burden and does so reasonably (forms, fields, labels, required flags, buttons, links, selectors). The main gap is the undocumented 'max_links' parameter, but for a simple two-parameter read tool it is largely complete.

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

Parameters2/5

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

Schema description coverage is 0% and neither parameter is explained. 'On a page' hints that 'url' targets the page to map, but 'max_links' (which presumably caps returned links) is entirely undocumented in both schema and description, so the description fails to compensate for the coverage gap.

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 names a specific artifact (a 'page action map' of forms, fields, buttons, and links with ready CSS selectors), so its purpose is concrete and well-defined. It does not name or contrast with siblings like browser_start, browser_act, or screenshot, so the agent must 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?

The phrase 'so an agent can plan clicks and form fills before opening a browser' implies the usage context (a pre-automation planning step) but stops short of explicit when-not conditions or naming the alternative tools. Adequate, implied-only guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources