Skip to main content
Glama

safari_fill_and_submit

Fill multiple Safari form fields and submit the form in one step, automatically detecting the submit button when no selector is provided.

Instructions

Fill a form AND submit it in one operation. Finds submit button automatically if not specified.

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": {
      "fields": "<fields>"
    },
    "name": "safari_fill_and_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoOptional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it.
fieldsYesFields to fill
submitSelectorNoSubmit button selector (auto-detected if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a consequential mutation (form submission). It never says whether the submission is irreversible, whether it waits for navigation or page load, what happens on validation failure, or what the agent gets back — the only behavioral note (auto-detecting the submit button) merely restates the submitSelector schema description.

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?

Two short sentences with the core action front-loaded and no filler. The second sentence repeats the schema's submitSelector fallback, so it is slightly redundant but not harmful.

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 mutation tool with no annotations and no output schema, an agent still needs to know what happens after submit (navigation, reload, success/failure signal). None of that is covered, leaving a meaningful gap for the caller.

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 all three parameters including the fields array and why privacy note are already documented in the schema. The description adds no meaning beyond that, which is the expected baseline here.

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?

States a specific verb and resource — 'Fill a form AND submit it in one operation' — with the capitalized 'AND' making the combined fill+submit scope explicit. It distinguishes itself in spirit from the fill-only siblings, though it never names safari_fill or safari_fill_form, so the differentiation is implied rather than stated.

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 'in one operation' framing hints that this is the tool to pick when a single fill-then-submit step is wanted, but there is no explicit when-to-use/when-not guidance and no named alternative for the fill-without-submit case.

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

Deploy Server

Other Tools