Skip to main content
Glama
safari-mcp
by tszaks

safari_submit_form

Submit a form on the current Safari page using a CSS selector, with optional tab and window indexes to target the right browser context.

Instructions

Submit a form in the current Safari page.

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": {
      "selector": "<selector>"
    },
    "name": "safari_submit_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
selectorYes
tab_indexNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.4/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 burden of behavioral disclosure. It implies a mutating action ('submit') but says nothing about side effects such as navigation, page reload, whether it waits for the resulting page, what happens on validation failure, or what the return value is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, so there is no structural waste. However, the brevity reflects under-specification rather than efficient packaging, since critical framing about the required selector is absent.

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 three-parameter mutating browser action with no annotations and no output schema, the description is too thin to let an agent invoke it reliably. It should at minimum clarify what the required selector identifies and what observable effect submission has on the page.

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

Parameters1/5

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

Schema description coverage is 0% for all three parameters, and the description adds no meaning: it does not explain whether 'selector' targets the form element or a submit button, nor what 'tab_index' and 'window_index' do or how they default. This leaves the required parameter entirely ambiguous despite the schema listing it as mandatory.

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 states a specific verb and resource ('Submit a form') with a scope ('in the current Safari page'), so an agent knows exactly what action is performed. It does not distinguish itself from siblings such as safari_click_element or safari_type_into_element, which could plausibly be used to complete a form submission workflow, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no prerequisites (e.g., that fields should be filled first), and no note on when submission is inappropriate. The only implicit context comes from the phrase 'current Safari page'.

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