Skip to main content
Glama

electron_verify_value

Verify that an Electron input element has the expected value, confirming UI state after typing or automation steps.

Instructions

Verify that an input element has the expected value.

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>",
      "expectedValue": "<expectedValue>",
      "timeout": "<timeout>"
    },
    "name": "electron_verify_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesElement reference from snapshot (e.g., e1, e2)
timeoutYes
expectedValueYesExpected value of the input element

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 burden and does not meet it: it never says whether the tool polls/retries until the timeout, what happens on mismatch (throw, return false, fail the step), or whether it returns an assertion result. The presence of a required timeout hints at retry behavior but the description leaves that inference to the agent.

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?

A single front-loaded sentence with no filler, which is the right shape for a narrow assertion tool. The brevity costs some specificity, but nothing written is wasted.

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?

The one-line purpose is adequate for a simple 3-parameter assertion, and no output schema exists so return values arguably need not be explained. Still, for a verification tool the failure/timeout behavior is the most important thing an agent needs and it is entirely absent.

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 67% and the two documented parameters (ref, expectedValue) are already explained in the schema itself, so the description adds no parameter meaning. The timeout parameter has only a default, no description, and the description does not clarify its semantics (per-assertion wait vs. total budget).

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 ('Verify') and a specific resource ('an input element has the expected value'), which is enough to distinguish it from value-agnostic siblings like electron_verify_element_visible. It stops short of naming any sibling explicitly, so the agent must infer the split from the names alone.

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?

Usage is implied by 'input element' and 'expected value' — this is the assertion to reach for when checking a form field's content rather than mere visibility. However, there is no explicit when-to-use/when-not guidance and no pointer to the visible/text alternatives for non-input assertions.

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