Skip to main content
Glama

Run website tool

run_website_tool
Destructive

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

  • Pass the tool's id from find_website_tool as tool_id.

  • It runs any tool. For a tool whose effect is read, use run_read_only_website_tool instead. Run writes on different sites at once, and writes on the same site one after another.

  • 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.

  • A call without an idempotency_key is a new website action.

  • 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_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.
paymentNoOnly for a tool that pays: the payer profile and payment method to pay with, the shipping address when not the profile's default, and the most the order may total
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.2/5.0
Behavior3/5

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

Annotations already declare destructive=true, openWorldHint=true, and idempotentHint=false, and the description aligns with those by describing writes and website actions. The description adds substantial operational context — 50-second wait, maintenance repairing status, question expiration windows, credentials_rejected handling, and result_file download mechanics — but omits any discussion of reversibility or scope of destruction for write tools.

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 definition is front-loaded and organized into bullets, and most detail is warranted for a complex destructive open-world tool. However, it is long and several bullets are dense enough that tightening would improve scanability.

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 14-parameter, nested-schema, destructive, open-world tool with no output schema, the description covers the critical operational branches (waits, retries, questions, logins, result files, maintenance) thoroughly.

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?

With 14 parameters and 100% schema description coverage, the schema already documents each field. The description adds operational meaning mainly for tool_id, idempotency_key, and login_id, but leaves shape, payment, takeover, save_login, correct_login, two_factor_method, and the two allow_* flags entirely to the schema.

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 opens with a specific verb and resource ('Run a Pomerado website tool') and immediately distinguishes this from the read-only sibling, so an agent can route correctly without inspecting schemas.

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 names run_read_only_website_tool for read effects and gives clear conditions for when to use get_job instead of re-calling, plus detailed idempotency, login, and question-answering 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.