Skip to main content
Glama
telegram-bot-testing-mcp
by SnimanOff

tg_miniapp_type

Types text into a Telegram Mini App input using its snapshot reference, enabling automated QA of forms and interactive app fields.

Instructions

Type text into a Mini App input by its snapshot ref.

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

Input Schema

NameRequiredDescriptionDefault
refYes
textYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it: it does not say whether the target field must already be focused, whether existing text is replaced or appended, whether it submits/triggers a change event, or what happens on an invalid ref. Only the return-value gap is covered, since an output schema exists.

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 action front-loaded and no filler. It is efficient, though its brevity is partly under-specification rather than disciplined concision.

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 two-required-parameter interaction tool with no annotations, the description omits the workflow prerequisite (obtaining a ref from tg_miniapp_snapshot), the precondition that the Mini App is open, and failure behavior. The output schema covers return values, but the calling context is not complete.

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 0%, so the description must compensate. It does give meaning to both parameters ('text' is what gets typed, 'ref' is a snapshot reference), but adds no format detail such as what a ref looks like or whether text supports special keys, newlines, or unicode.

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 and resource ('Type text into a Mini App input') plus the addressing mechanism ('by its snapshot ref'), which distinguishes it from the click/close/screenshot siblings. It stops short of naming a sibling or the snapshot tool it depends on, but the action 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: mentioning a 'snapshot ref' hints that a snapshot must be taken first, but the description never says so, nor when to prefer this over tg_miniapp_click or what to do if the ref is stale. No exclusions or prerequisites are stated.

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