Skip to main content
Glama
@aifirelab/mcp-pinchtab

@aifirelab/mcp-pinchtab

Official
by Ai-firelab

fill

Sets a form field to a specified value and clears existing input; use submitEvents for React/Vue/Angular apps so framework state updates are triggered correctly.

Instructions

Instantly fill a form field (clears existing value). For React/Vue/Angular apps, set submitEvents=true or use click + type_text instead, as direct fill may not trigger framework state updates.

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": "fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesElement ref (e.g. 'e5')
valueYesValue to fill
submitEventsNoUse click+selectAll+type sequence instead of direct fill. Required for React/Vue/Angular inputs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden; it discloses the destructive trait (existing value is cleared) and the framework-state caveat, both non-obvious. It does not cover error behavior on invalid refs, focus/scroll side effects, or whether blur/change events fire.

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 dense sentences with the destructive side effect parenthesized immediately after the verb, and the fallback guidance second. No filler, though the framework clause is slightly compressed and could be formatted more scanably.

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?

With three params, no output schema, and no annotations, the description covers the two things an agent most needs: what gets overwritten and when direct fill silently fails. Return values and failure modes remain unstated but are low-risk for this interaction primitive.

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 ref, value, and submitEvents are already documented in the schema, including the React/Vue/Angular note. The description only reinforces submitEvents indirectly and adds no format or constraint detail beyond the schema, so baseline 3 applies.

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 ('fill a form field') plus the key side effect (clears existing value), which distinguishes it from adjacent tools like type_text and click. An agent can tell what this does without opening the 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?

Explicitly names the condition where direct fill fails (React/Vue/Angular inputs) and two concrete alternatives: set submitEvents=true, or use click + type_text. That is both a when-to-use and a when-not-to-use rule with named fallbacks.

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