Skip to main content
Glama
Browser MCP Server

Browser MCP Server

get_form_elements

Lists all form elements on a specified page in a compact one-line-per-element format, so you can inspect fields for automation or validation.

Instructions

List form elements (compact one-line-per-element format).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_form_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/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. It does add one useful behavioral detail: the result is a compact one-line-per-element listing. However, it never states that this is a read-only operation, what happens when pageId is omitted, or how elements are ordered or scoped.

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?

One short sentence with the resource front-loaded and the output-shape detail in parentheses; nothing is wasted. Its brevity is efficient, though it borders on under-specification rather than padding.

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?

For a simple read tool with no output schema and no annotations, the description should at least clarify the optional pageId semantics and confirm read-only behavior. The output format hint is helpful but the parameter behavior, the main risk of misuse, is undocumented.

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 single parameter pageId has 0% schema description coverage, and the description never mentions it. It is left unclear whether pageId is optional, defaults to the active page, or accepts a page index versus an identifier.

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+resource ("List form elements") and names the sibling-adjacent concept of form filling indirectly, so an agent can distinguish a read of form fields from fill_form. It stops short of explicitly naming the alternative, but the intent is unambiguous.

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 when-to-use guidance, no mention of when not to use it, and no named alternative such as fill_form or get_page_content. The agent must infer that this is the read-side counterpart of form filling.

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