Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

form_input

Set form fields by ref with text for inputs and textareas, true or false for checkboxes and radios, or an option label for selects; disabled and hidden fields are refused.

Instructions

Set a form field by ref: text for inputs and textareas (pasted, replacing the content), true / false for checkboxes and radios, an option's label for selects. The reply says what the page did. Disabled and hidden fields are refused. For file inputs use file_upload.

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": {
      "ref": "<ref>",
      "value": "<value>"
    },
    "name": "form_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesField ref from read_page / find.
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.
valueYesText, true / false, or the option to select.
reveal_valuesNoShow secrets (cookie values, tokens, passwords) instead of masking them. They end up in the transcript; use only when the value itself is needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose meaningful behavior: text is pasted and replaces existing content, disabled and hidden fields are refused, and the reply reports what the page did. It still leaves gaps around failure/retry behavior and whether setting a value triggers events or submission.

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?

Four tight sentences with no filler: the core action and value mapping come first, then reply behavior, then refusals, then the alternative tool. Every clause earns its place.

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

Completeness4/5

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

For a four-parameter mutation tool with no annotations and no output schema, the description covers input semantics, refusal cases, and the sibling alternative adequately. The only soft spot is 'the reply says what the page did,' which is suggestive but not concrete about return content.

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 coverage is 100%, so baseline is 3. The description adds real meaning to `value` by tying each type to a field kind and noting paste-replacement semantics, but it adds nothing about `ref`, `tabId`, or `reveal_values` beyond what the schema already documents.

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?

States a specific verb and resource ('Set a form field by ref') and immediately enumerates the value semantics for each field type (text inputs/textareas, boolean checkboxes/radios, label for selects). It also explicitly routes file inputs to the file_upload sibling, so an agent can distinguish it without reading any other schema.

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?

Gives clear usage context — use this for text/checkbox/radio/select fields — and names the alternative for the one excluded case ('For file inputs use file_upload'). It does not give broader exclusions (e.g., when to prefer a scripted approach or whether it submits the form), so it stops short of full when/when-not coverage.

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