Skip to main content
Glama

fill_form

Batch-fill multiple Windows form fields via UI Automation and optionally submit them, automating repetitive data entry across Edit, CheckBox, RadioButton, and ComboBox controls.

Instructions

Batch-fill multiple form fields (Edit, CheckBox, RadioButton, ComboBox) via UIA and optionally submit.

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

Input Schema

NameRequiredDescriptionDefault
hwndNo
fieldsYes
submit_buttonNo
restore_cursorNo
title_containsNo
process_containsNo
submit_element_idNo
submit_automation_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses that filling is batched, uses UIA, supports specific control types, and can optionally submit, but it does not explain window targeting, what happens when fields are missing, failure behavior, focus requirements, or whether submitted changes are irreversible.

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?

The description is a single front-loaded sentence with no filler. Every phrase contributes to identifying the operation, supported control types, mechanism, and optional submit behavior.

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?

This is an 8-parameter UI automation tool with no annotations and 0% schema description coverage, so the one-sentence description is far too thin. The output schema can explain return values, but the description still omits critical targeting, parameter, and failure-mode context needed to invoke the tool confidently.

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?

Schema description coverage is 0% across 8 parameters, and the description only vaguely maps to 'fields' and optional submission. It does not explain the structure of each field object, how hwnd/title_contains/process_contains select the target, what restore_cursor does, or how the three submit-related parameters differ.

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: batch-filling multiple form fields, with supported field types (Edit, CheckBox, RadioButton, ComboBox), via UIA, and optional submission. This clearly distinguishes the tool from generic input tools like type_text or click_element, though it does not explicitly name an alternative path.

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 explicit guidance on when to use fill_form versus type_text, click_element, or press_keys, nor when not to use it. It implies form-filling usage but leaves prerequisites, targeting behavior, and alternative selection entirely to inference.

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