Skip to main content
Glama

fill

Destructive

Replace editable text by simulating real input events and verify the resulting value; secret values are not returned.

Instructions

Replace editable text through real input events and verify result; secret values not returned.

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": {
      "session_id": "<session_id>",
      "locator": "<locator>",
      "text": "<text>"
    },
    "name": "fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
locatorYes
timeoutNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description is consistent with that while adding real value: it discloses that input is delivered as genuine input events (not a direct value assignment), that the result is verified, and that secret values are not echoed back. What is still missing is failure behavior — whether a mismatch raises an error or returns a status.

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?

One compact sentence with three earned clauses: the action, the mechanism, and the post-condition. It is front-loaded with the core verb and contains no filler or restatement of the tool name.

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

Completeness3/5

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

For a destructive, four-parameter interaction tool with no output schema, the definition covers action, mechanism, verification, and secret handling, which is decent. It still omits timeout behavior, what a failed verification looks like, and how the locator should be chosen, leaving gaps an agent will hit on first use.

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

Parameters2/5

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

The description says nothing about the four top-level parameters; the 'text' argument, the timeout semantics, and session_id are left entirely to the schema, whose top-level coverage is 0%. The nested Locator schema is well documented, so the agent can build a selector, but nothing in the prose compensates for the undocumented top-level args or clarifies that 'text' is the replacement content rather than a match target.

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: 'Replace editable text' via 'real input events', plus a verification step. An agent can tell this writes into a form field rather than clicking (click) or sending keys (press), though no sibling is named explicitly. The scope is unambiguous but sibling differentiation is left implicit.

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?

'Replace editable text' implies the when-to-use condition — target an editable field, not a button — but the definition never says when to choose this over press/interact/evaluate_js, nor any precondition such as needing an active session or a resolved locator. Usage is inferable rather than stated.

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