Skip to main content
Glama
omarchy-desktop

omarchy-desktop

by martoast

Check form fields against expected values

check_field_values

Checks visible form fields against expected values and reports match, differs, empty, or missing—without exposing field text.

Instructions

For each {name, expect, mode}: whether the visible form field with that name holds the value (match / differs / empty / missing). Never returns field text.

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": {
      "checks": "<checks>"
    },
    "name": "check_field_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
checksYes
window_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the complete set of return statuses and the privacy-relevant fact that field text is never echoed back, plus the constraint that only 'visible' fields count. It says nothing about whether the check requires the field in-viewport, whether it scrolls, what happens on failure or timeout, or the 12-item ceiling, leaving meaningful behavioral gaps for an unannotated tool.

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?

A single compact sentence that front-loads the input shape, then the outcome set, then the key exclusion. No redundant wording and nothing buried.

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 nested-array verification tool with no output schema, the description does the essential job of enumerating return values. It falls short on parameter semantics (mode enums, window_address) and on the 12-check cap or error behavior, which are the remaining gaps an agent would want covered.

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 description coverage is 0%, so the description must compensate, and it does explain the shape of each array item ({name, expect, mode}). However, the mode enum values 'exact' and 'street' are never explained — 'street' is opaque without added meaning — and the top-level window_address parameter is not addressed at all.

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?

Names a specific verb (check/verify) and resource (visible form field values), and enumerates the four possible outcomes (match / differs / empty / missing), which tells an agent exactly what the tool produces. The closing clause 'Never returns field text' implicitly separates it from text-reading siblings such as read_page or page_text.

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?

The purpose implies its usage context clearly: verifying that known values landed in form fields after typing or autofill. The 'Never returns field text' note hints that agents needing the actual content should look elsewhere, but no sibling is named explicitly and no when-not-to-use exclusion is stated.

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