Skip to main content
Glama

intent_send

Send custom Android intents, broadcasts, or services to target apps and components via ADB for device automation and app control.

Instructions

Send a custom intent / broadcast / service (am start|broadcast|startservice).

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": {
      "action": "<action>"
    },
    "name": "intent_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoURI data, e.g. https://example.com
kindNostart | broadcast | startservice
actionYese.g. android.intent.action.SEND
packageNoTarget package
componentNoExplicit component pkg/.Activity
string_extraNoMap of string extras
integer_extraNoMap of int extras

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden, yet it only names the shell commands. It says nothing about side effects (launching activities, delivering broadcasts), failure modes (missing component/package, no device), or what the tool returns, all of which matter for an arbitrary-shell-action tool.

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?

A single front-loaded sentence with zero padding or repetition. It is arguably too terse for a 7-parameter tool, but nothing in it is wasted.

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 high-flexibility tool with 7 parameters, a nested object, no annotations, and no output schema, the description is thin. It omits device/connection prerequisites, the expected result of the call, and how the three kinds differ in effect, leaving meaningful gaps an agent must guess at.

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 description coverage is 100%, so every parameter including kind's enum and the extra maps is already documented in the schema. The description adds no syntax, format, or interaction detail (e.g. component vs package precedence) beyond what the schema provides, so the baseline 3 applies.

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 ('Send a custom intent / broadcast / service') and maps it to the underlying adb subcommands (am start|broadcast|startservice), so the agent knows exactly what is executed. It stops short of differentiating from siblings like app_start or open_url, which overlap in intent-delivery territory.

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?

No guidance on when to use this versus app_start, open_url, or app_stop, and no mention of prerequisites such as needing an active/selected device. The agent must infer the usage context entirely from the parenthetical command list.

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