Skip to main content
Glama

share

Share text into another app on the phone, like picking it in the share sheet: the text goes into that app's share action (for example a new note in Notes and Tasks). A title input that is not the share input gets title, or the first line of the text. Logged in app_activity as "share". Use share_targets to see which apps take shared 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>",
      "to": "<to>",
      "text": "<text>"
    },
    "name": "share"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesApp id from share_targets
fromNoThe app the text is shared from, for the activity log
textYesThe text to share, up to 5000 characters
titleNoA title for the shared item (default: the first line of the text)
actionNoThe share action, when the app has more than one (from share_targets)
sessionYesSession from open_app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only say it is a non-read-only, non-destructive mutation; the description adds the real behavioral traits: the text is deposited into the target app's share action, and the call is recorded in app_activity as "share". That side effect (activity logging) is the kind of detail annotations cannot convey. It stops short of saying what happens on failure or whether the target app must be running.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the title sentence ('A title input that is not the share input gets `title`, or the first line of the text') is convoluted and takes a re-read to parse. The share_targets pointer would read better up front than tacked on at the end.

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?

Six parameters with full schema coverage and no output schema; the description covers the destination-discovery dependency, the logging side effect, and title derivation. What remains missing is minor — result/error behavior and whether the target app must be open or foregrounded, which the `session` requirement hints at but never explains.

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 100%, so the baseline would be 3, but the description adds genuine meaning: it explains the title fallback rule (a non-share title gets `title`, otherwise the first line of the text) and that `action` only matters when the app exposes multiple share actions. That clarifies interaction between parameters rather than repeating field docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — sharing text into another app — and anchors it to a familiar mechanic ('like picking it in the share sheet'). It is clearly distinct from share_targets, which is the discovery sibling rather than the action itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explicitly routes the agent to share_targets to discover which apps accept shared text, and the schema ties the `to` and `action` values back to that source. It does not state exclusions (e.g., when to prefer a direct app-specific action instead), but the workflow context is clear.

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.