Skip to main content
Glama

Find an app

find_app
Read-onlyIdempotent

Find where an app is, by package name or by name, in one call: whether it is in a policy (its source - Google Play, the Nomid Store Library, a secure web app - its install type and whether it is the kiosk app), in the company's Library, on Google Play (by package name only) and installed on a device (from its last app report). Pass policyId, assetId or both; with assetId alone the device's own policy is checked. "answer" sums it up, and says how the app can be added. Call it before saying an app is or is not somewhere, before adding one, and again whenever the user says an app is there after all: policies and devices change during a conversation. A place this caller cannot read says notChecked: that is not "not there".

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

Input Schema

NameRequiredDescriptionDefault
queryYesThe app's package name (com.example.app; a Play Store link also works) or part of its name ("Phone", "Aumet").
assetIdNoA device to check (search_devices' "pathName"): whether its last app report lists the app installed.
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
policyIdNoThe policy to check, by path name (list_policies' "pathName"). Default: the policy of assetId's device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the description's job is to add what they cannot. It does: Google Play lookup works by package name only, results can be stale and must be re-checked during a conversation, and unreadable locations return notChecked rather than a false negative — a genuinely important interpretation rule.

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 core purpose and the coverage list, then the scoping rules, then the when-to-call guidance and the notChecked caveat. The location-enumeration clause is dense and parenthetical-heavy, but nearly every phrase carries information an agent needs to interpret results correctly.

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?

With no output schema, the description carries the burden of explaining returns and does so for the key pieces: the 'answer' summary field, the addition hint, and the notChecked convention. It stops short of describing the per-location result shape, which would be the remaining gap for a four-parameter aggregation tool.

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 is 3, but the description adds real semantics: the interaction between policyId and assetId (both, or assetId alone falling back to the device's own policy), and the constraint that Play Store lookups require a package name rather than a display name.

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 where an app is') and enumerates exactly the places checked: a policy with its source, install type and kiosk flag, the company Library, Google Play, and device install status from the last app report. That enumeration lets an agent separate it from narrower siblings like search_library or list_device_apps 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 strong positive guidance: call it before declaring an app present or absent, before adding one, and again whenever the user reasserts an app's presence because policies and devices change mid-conversation. It also specifies the parameter combinations ('Pass policyId, assetId or both; with assetId alone the device's own policy is checked'). It does not name a sibling alternative for narrower lookups, so 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.

Resources