Skip to main content
Glama

get_clipboard

Read-only

The text on the phone's clipboard, the same one apps copy to and paste from on Android and iOS.

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": {
      "session": "<session>"
    },
    "name": "get_clipboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYesSession from open_app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful context that this is the same system clipboard apps copy to and paste from, and that it applies on both Android and iOS. It does not mention what happens when the clipboard is empty, whether permissions are required, or what format the text is returned in.

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?

The description is a single efficient sentence that front-loads the resource. The phrase 'the same one apps copy to and paste from' earns its place by clarifying that this is the shared system clipboard rather than an app-private one. It is slightly awkward as a standalone noun phrase rather than a complete action statement, but it contains no filler.

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 simple read-only tool with one fully documented parameter and annotations covering safety, the description is nearly complete. It implies the return value (clipboard text) and clarifies the cross-platform shared clipboard context. Minor gaps remain around empty-clipboard behavior and permissions, but these are small for a tool of this complexity.

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 100%, with the single session parameter documented as coming from open_app. The description adds no information about the session parameter or about session validity. With the schema already carrying full parameter documentation, the baseline score of 3 is appropriate.

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 identifies the resource precisely — the phone's clipboard text — and clarifies that it is the shared system clipboard used by apps on Android and iOS. It does not explicitly state a retrieval verb, but the tool name and noun phrase make the read operation clear. It does not directly differentiate from the sibling set_clipboard, leaving the agent to infer the read/write distinction from names.

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 explicit when-to-use guidance, no mention of prerequisites, and no named alternative such as set_clipboard for writing. The description implies reading the clipboard but does not say when an agent should choose this tool versus other device-inspection tools. Usage is only inferable from the tool name and resource description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.