Skip to main content
Glama

share_targets

Read-only

The apps on this phone that take shared text, like the share sheet on Android and iOS: app id and name, the action and the input that receives the text.

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

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?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the returned record shape (app id, name, action, input), which matters because there is no output schema. It says nothing about ordering, result size, or whether an empty list is possible.

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 compact sentence with no padding, and the identifying clause ("apps on this phone that take shared text") is front-loaded ahead of the field list. The comma-spliced fragment and the "like the share sheet" analogy are slightly loose but cost little.

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 one-parameter read tool with no output schema, the description covers what comes back at a coarse level (four named fields). It stops short of explaining what "action" and "input" mean concretely or how the returned values should feed a subsequent `share` call, which is the main thing an agent needs to act on the result.

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?

There is a single parameter and schema coverage is 100%, so the schema fully documents `session`. The description only obliquely reinforces this with "on this phone," which hints that session binds to a device context, but adds no new constraint or format detail. Baseline 3 applies when the schema does the work.

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 resource — the apps on this phone that accept shared text, plus which fields each entry carries (app id, name, action, receiving input). That is enough to distinguish it from the sibling `share`, which presumably performs the share rather than enumerating targets. It loses a point for never stating the operation explicitly (e.g. "list"), presenting the tool as a noun phrase.

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: nothing says to call this before `share`, nor that it is the discovery step for picking a target. No prerequisites or exclusions are stated, so the agent must infer usage from the name and sibling list.

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.