Skip to main content
Glama

interact_with_page

Run search or click actions on a storefront page to get the resulting page data, with session cookies maintained across multi-step flows.

Instructions

Execute one or more search/click actions on a storefront page in sequence, then return the resulting page data. Accepts a single action or an array for multi-step flows (e.g. search → filter → click). Session cookies are carried over automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull http/https URL to load.
valueNoText to type for single-action shorthand.
actionNoSingle-action shorthand. Ignored when "actions" array is provided.
actionsNoOrdered list of actions to execute. Use this for multi-step flows.
selectorNoCSS selector for single-action shorthand.
include_screenshotNoInclude a base64 JPEG screenshot of the result page.
Behavior3/5

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

With no annotations, the description carries the full load. It discloses that actions are executed sequentially, session cookies carry over automatically, and it returns page data. However, it does not explain the shape of the returned data, failure behavior, or any side effects beyond cookie handling, leaving notable transparency gaps for a stateful interaction tool.

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 sentences, front-loaded with the primary action and result, then a brief note on modes and cookies. Every word earns its place with no redundancy.

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

Completeness3/5

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

The tool has no output schema, so the description must clarify return values. 'Return the resulting page data' is vague about the format. It also omits error handling and any prerequisites beyond the URL. For a 6-parameter tool with nested action objects, this is under-specified.

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 the baseline is 3. The description reinforces the single-action vs. array distinction and gives a concrete example, but this does not add substantially beyond what the schema already explains for each parameter.

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 ('Execute'), specifies the resource ('storefront page'), and defines the scope ('search/click actions in sequence'). It clearly distinguishes itself from sibling tools like scrape_page by emphasizing interaction (actions) rather than passive extraction.

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

Usage Guidelines4/5

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

It provides clear context for when to use this tool: for single or multi-step interactions, with an example flow ('search → filter → click'). However, it does not explicitly mention when not to use it or name alternatives, so it falls short of full exclusions guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/grahamton/merchGent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server