Skip to main content
Glama

search_phone

Read-only

Find text anywhere on the phone in one call: rows in every app's data (contacts, messages, alarms, notes, tasks and any app you built) and notifications. Not case sensitive. Each hit says the app, the collection, the row id, the field that matched and a short snippet, with the full row. Use app to look in one app, or 'notifications'. Changes nothing.

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>",
      "query": "<query>"
    },
    "name": "search_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoOnly this app id, or 'notifications'
limitNoMost results to return (default 20)
queryYesText to look for, up to 200 characters
sessionYesSession from open_app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered, and the description reinforces rather than contradicts that. It adds genuinely useful behavior beyond the annotations: query matching is not case sensitive, and each hit returns app, collection, row id, matched field, snippet, and the full row. Missing only operational details such as default result count and truncation behavior, which the schema partially covers.

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?

Front-loaded with the verb and scope in the first clause, then return shape, then the app narrowing hint, then the side-effect note. Every sentence carries information, though 'Changes nothing' is largely redundant with the supplied annotations and 'in one call' is mildly promotional rather than informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must explain the result shape, and it does so precisely (app, collection, row id, matched field, snippet, full row). Required session and query parameters, the app narrowing, and the absence of side effects are all covered, leaving nothing essential for a correct invocation unstated.

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 description coverage is 100%, so the baseline is 3, and the description earns an extra point by disclosing the matching semantics of query (not case sensitive) and framing app as a scoping switch that accepts 'notifications' as a pseudo-app. Limit semantics and the 200-character query cap are left entirely to the schema.

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 ('Find text anywhere on the phone') plus the exact scope: rows in every app's data and notifications. The parenthetical enumerates concrete collections (contacts, messages, alarms, notes, tasks, custom apps), and 'with the full row' clarifies output depth, so an agent can distinguish this from narrower sibling tools without opening a schema.

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?

Gives clear usage context: it searches everything in one call, and the agent should pass app to narrow to a single app id or 'notifications'. It also signals the operation is side-effect free ('Changes nothing'), which helps an agent decide it can call it freely. It stops short of naming an alternative tool or an explicit when-not-to-use condition, so it is not a full 5.

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.