Skip to main content
Glama

Run read-only website tool

run_read_only_website_tool
Read-onlyIdempotent

Run a Pomerado website tool whose effect is read and return its job with the result, usually in seconds.

  • It changes nothing on the website, so several calls can run at once.

  • Pass the tool's id from find_website_tool as tool_id. A tool whose effect is write is refused with tool_not_read_only; run it with run_website_tool.

  • It waits up to 50 seconds. If the job asks a question or is still running, follow it with get_job instead of calling again. Pass an idempotency_key on every run, reads included, and reuse it only to retry the same call. If your call drops before you get a job back, repeat it unchanged with that key: it rejoins the same job instead of starting another, and get_job then gives you its result.

  • When a tool takes a ZIP code and the answer is a price, stock or a delivery promise, pass the user's own. Left out, the site picks a location from the run's IP address, which is not the user's.

  • When a run's tool breaks, the run returns with maintenance.status repairing while Pomerado fixes the tool. Don't cancel it. Keep calling get_job, and keep the connection open, until the repair ends.

  • A tool that signs in uses the site's saved login; login_id picks one when there are several. With none saved, the job asks the user on its answer page.

  • When a job needs a login, a code or an approval, give the user its answer_url. Never ask for a password in chat.

  • When a job asks any other question (input_request), follow its next: answer it yourself with answer_job if your task already settles it, otherwise ask your user and answer with theirs, or, when your user chose to answer on a form, give them its answer_url; then keep following the job with get_job. A browser_handoff question is never answered with answer_job: send your user its answer_url, where a person finishes the step in the job's live browser and marks it done, and keep following the job. Unanswered, a question expires after 10 minutes, a browser_handoff after 30 minutes; it fails a run and can pause or end a build.

  • Status needs_input with error credentials_rejected means the website rejected the saved login. The job waits up to 60 minutes for the user to correct it on the page its next names, then resumes. Don't resubmit it.

  • A result too big to answer inline comes as result_file, a single-use result.json link, with result_preview showing its start: download it once, sending its transfer_key as the Pomerado-Transfer-Key header, such as with curl -fsS -o result.json -H 'Pomerado-Transfer-Key: <transfer_key>' '<download_url>', which fails on an HTTP error instead of saving it. A file a run downloads comes as a $file whose limits give the caps its account's files keep to (max_file_bytes, max_files_per_run, max_run_bytes); a download over them fails the run, and for larger files the user can email founders@pomerado.ai (ask the user first; never email on your own).

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": {
      "tool_id": "<tool_id>",
      "input": "<input>"
    },
    "name": "run_read_only_website_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe tool's input, JSON-encoded, as its input_schema describes.
loginNoA login for this call, used only when the site has no saved login: a username (or email, phone or account number) and password, or mode "code" without a password when the site sends a code. It passes through your client and model provider; without it, the run asks the person on its answer page.
shapeNoYour saved shape of this tool, to get its result in that form; the job's shape says if it applied.
intentNoDescribe the intended use case in one sentence: what this call should do and why, such as "Check a store's opening hours to answer when it opens today". Describe the task, not the person: leave out names, contact details, account numbers and anything used to sign in. Pomerado uses it to improve its tools. Optional, but recommended: please include it on every call.
tool_idYesThe ID of the tool to run, from a tool search
login_idNoThe saved login to sign in with, when the site has several
takeoverNoBusiness accounts only. true to have a person sign in to the website themselves, in this run's browser, instead of the tool's own sign-in. The run asks for them on its answer page. Their session is kept in the run's saved login, which needs Edit access to it, or, when the site has no saved login with a password or code, in a new session login of their own once they sign in, whose ID the job's login_save.login_id gives; a later run reuses it only by naming it.
save_loginNoSave login for later runs (requires login)
correct_loginNoFix the rejected saved login named by login_id during this run
idempotency_keyNoYour key for this call. Reuse it only to retry the same call, which then returns the same job instead of acting on the website again.
two_factor_methodNoThe two-factor method to use when the site offers several; one the tool supports
allow_trust_this_deviceNoLets this run confirm the site's prompt to trust this browser for later sign-ins, if that prompt appears during sign-in. Off by default, and the run then stops before the prompt and changes nothing.
allow_sign_out_other_deviceNoLets this run confirm the site's prompt to sign out another of your devices or sessions, if that prompt appears during sign-in. Off by default, and the run then stops before the prompt and changes nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / takeover / description
      Previous value: -"Business accounts only. true to have a person sign in to the website themselves, in this run's browser, instead of the tool's own sign-in. The run asks for them on its answer page. Their session is kept in the run's saved login, which needs Edit access to it, or in a new saved login holding only it when the site has none."New value: +"Business accounts only. true to have a person sign in to the website themselves, in this run's browser, instead of the tool's own sign-in. The run asks for them on its answer page. Their session is kept in the run's saved login, which needs Edit access to it, or, when the site has no saved login with a password or code, in a new session login of their own once they sign in, whose ID the job's login_save.login_id gives; a later run reuses it only by naming it."
  2. Changed1 schema field changed
    • addedInput schema / properties / takeover
      Added value: +{
      +  "description": "Business accounts only. true to have a person sign in to the website themselves, in this run's browser, instead of the tool's own sign-in. The run asks for them on its answer page. Their session is kept in the run's saved login, which needs Edit access to it, or in a new saved login holding only it when the site has none.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, and the description goes well beyond them: 50s wait, safe concurrency, idempotency-key retry/rejoin semantics, the maintenance.repairing state, credentials_rejected handling, and question expiry windows. This is genuinely rich, but several items restate what annotations or schema already signal, keeping it short of the top.

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?

The purpose and the primary alternative are front-loaded, and the bulleted layout makes the dense operational rules scannable. It is close to overloaded, packing sign-in, question handling, expiry timers, result_file transfer and file caps into one block, so a few lines could be tightened.

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 13-parameter, nested-object tool with no output schema, the description covers the full job lifecycle: what triggers a job to wait, how to continue it, how questions and logins are resolved, what error statuses mean, and how oversized results and downloaded files are retrieved. An agent has everything needed to call it and handle its outcomes.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, but the description adds real cross-parameter meaning: it mandates idempotency_key on every run and explains that an unchanged retry rejoins the same job, explains login_id's role when several saved logins exist, and warns that login.zip defaults to the run's IP location rather than the user's. Other parameters (shape, intent, takeover, two_factor_method, allow_trust_this_device) are left entirely to the schema, so it falls short of 5.

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 first sentence gives a specific verb and resource ("Run a Pomerado website tool whose effect is read and return its job with the result") and immediately scopes it to read-effect tools. It explicitly separates itself from run_website_tool by stating that write tools are refused and must go there, so an agent can route correctly without opening either 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?

Guidance is explicit and covers alternatives: get the tool_id from find_website_tool, use run_website_tool for writes, follow with get_job rather than re-running, answer questions with answer_job unless it is a browser_handoff, and do not cancel a job in maintenance. It also states exclusions (never ask for a password in chat, never email founders unprompted).

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.