Skip to main content
Glama

page_type

Fills a referenced input field with new text, replacing existing content, and optionally presses Enter to submit.

Instructions

在编号对应的输入框里输入文字(整段输入,中文也行),框里原有的内容会被替换;submit 为 true 时再按回车。

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>",
      "text": "<text>"
    },
    "name": "page_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
textYes
submitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that existing content is replaced (a destructive mutation), that full-paragraph and Chinese text are accepted, and that submit=true triggers an Enter keystroke. It omits return-value behavior, but the key behavioral traits are covered.

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 tightly-packed sentence with no wasted words, front-loading the typing action and then qualifying the submit behavior. Efficient and easy to scan.

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 3-param tool with no annotations and no output schema, the description covers what the tool does, the destructive replacement behavior, and submit semantics – enough for an agent to invoke it correctly. Only return-value details are absent, which the lack of an output schema makes minor.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it describes all three params: ref as the box number, text as the (possibly Chinese) content to enter, and submit as the flag that presses Enter. This adds meaningful interpretation beyond the bare schema.

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: type text into the input box identified by its number (ref). This is clearly a text-entry tool, distinguishable from page_click/page_press, though it doesn't explicitly name or compare against those siblings.

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 – enter text into a numbered input box – and the submit flag's effect is noted. But there is no explicit guidance on when to use this over page_press or other input tools, and no stated prerequisites or exclusions.

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