Skip to main content
Glama

Test Deep Link

deeplink_test
Destructive

Test a deep link URI on a connected Android device by opening it with ACTION_VIEW, optionally restricting to a specific app package or device.

Instructions

Test a deep link URI on a connected Android device. Opens the URI with ACTION_VIEW

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": {
      "uri": "<uri>"
    },
    "name": "deeplink_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYesDeep link URI to test, e.g. 'myapp://profile/123' or 'https://example.com/path'
deviceIdNoTarget device serial
packageNameNoRestrict to a specific app package. If omitted, Android chooser may appear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the safety profile (destructiveHint=true, readOnlyHint=false, idempotentHint=false), so the bar is lower. The description still earns credit by disclosing the actual mechanism — it dispatches ACTION_VIEW, which explains why the call is non-idempotent and potentially side-effecting in a third-party app, and the schema notes a chooser may appear. It does not say what happens on an unresolvable URI or whether anything besides intent dispatch occurs.

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?

Two sentences, front-loaded with the action and followed by the mechanism; nothing is redundant. The description is slightly under-built rather than bloated, which is not a structural problem.

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 side-effecting, non-idempotent tool with no output schema, the definition covers the happy path but omits outcome semantics — no indication of what is returned on success, what failure looks like if the URI resolves to nothing, or whether the device must be unlocked. Adequate to make the call, incomplete to interpret 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?

Schema description coverage is 100%, so all three parameters are already documented in structured data, including the chooser behavior for omitted packageName. The description adds no new meaning about parameter formats or interactions. 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 ('Test a deep link URI') plus the mechanism ('Opens the URI with ACTION_VIEW'), so an agent knows exactly what the tool does. It does not name a sibling it is distinct from, so it stops short of the top score.

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?

The only usage context is the implicit prerequisite of 'a connected Android device'. There is no statement of when to prefer this over intent_send or app_launch, and no exclusions or prerequisites about device state beyond that. The packageName note hints at a behavior but is guidance about the parameter, not when to use the tool.

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