Skip to main content
Glama

pin_app

Pin an installed app to the top of the home screen (Android and iOS style), after any apps pinned before it, or unpin it with pinned: false. Works for Store apps and apps made with create_app, and survives update_app. Fails with not_installed. Logged in device_log.

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>",
      "id": "<id>",
      "pinned": "<pinned>"
    },
    "name": "pin_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesInstalled app id
pinnedYestrue to pin, false to unpin
sessionYesSession from open_app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the thin annotations: the resulting ordering position relative to previously pinned apps, persistence across update_app, the not_installed error, and that the action is written to device_log. These are exactly the traits an agent needs (reversibility, durability, failure mode, auditability) and they are consistent with readOnlyHint=false and destructiveHint=false.

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

Conciseness5/5

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

Two dense sentences with the primary action front-loaded and supporting facts (app-type scope, persistence, error, logging) trailing in priority order. No filler or repetition; every clause carries distinct information.

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?

For a simple 3-parameter mutation with no output schema, the description covers action, toggle, eligibility scope, persistence, failure mode, and audit logging — nearly everything an agent needs. The one gap is the absence of any explicit sibling comparison (e.g. how this differs from hide_app), which keeps it just short of fully complete.

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 coverage is 100%, so all three parameters are already documented, including pinned's boolean meaning. The description's 'unpin it with pinned: false' largely restates the schema; it adds the app-type eligibility for 'id' but no new format or constraint details beyond that. Baseline 3 applies when the schema carries the parameter burden.

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 concrete verb+resource pair (pin an installed app to the top of the home screen) and also covers the inverse operation via 'pinned: false', so an agent knows exactly what the call does without opening the schema. The parenthetical '(Android and iOS style)' plus the ordering rule ('after any apps pinned before it') further sharpens the semantics.

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 conditions: use it on installed apps, both Store apps and create_app-built apps, and toggle unpin via the pinned flag. It also names the failure condition ('Fails with not_installed'). It stops short of explicitly contrasting with hide_app or uninstall_app, so the alternative-selection guidance is implicit rather than spelled out.

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.