Skip to main content
Glama

hide_keyboard

Dismiss the on-screen keyboard on a selected iPhone, iPad, or iOS simulator using a supported input method, then verify closure via the next image.

Instructions

Ask the selected device to dismiss its on-screen keyboard using a supported input method. Check the next image to confirm the keyboard closed.

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

Input Schema

NameRequiredDescriptionDefault
device_idNo
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), so the bar is lower. The description still adds non-obvious behavior: the operation is attempted via a supported input method (implying fallback strategies) and may silently fail, so the follow-up image must be inspected. It does not explain timeout behavior or what the response contains besides an image.

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?

Two short sentences, action first and verification guidance second. Nothing is redundant and nothing is buried.

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?

For a simple two-parameter device action with no output schema, the action and a verification step are covered, but the unspecified parameters and lack of any guidance on failure/timeout handling leave real gaps.

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?

Schema description coverage is 0% and both parameters are undocumented. The description only weakly gestures at device_id by saying 'the selected device' and never mentions timeout_ms or what happens when it elapses, so it fails to compensate for the schema gap.

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 names a specific action and target: dismiss the on-screen keyboard on the selected device, using a supported input method. That is distinguishable from sibling tools like press_key or handle_alert, though it never explicitly contrasts itself with such alternatives.

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?

It gives one implied usage hint: verify by checking the next image, which tells the agent this is not a guaranteed-success operation. It does not say when to prefer this over sending a back/escape key via a sibling tool, nor any prerequisites such as an active device selection.

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