Skip to main content
Glama

Show or hide a mini-app

mini_apps_update
Idempotent

Show or hide one of the user's mini-apps, by its name as mini_apps_list returns it, on surfaces, or on every one it has a card on when they're left out, as the Mini-apps page does. It's the user's own on/off: hiding only hides, nothing is deleted, and no one else's changes. Humble already open in a tab, or the extension's sidebar, shows the change once it reloads. Returns the mini-app as it is now.

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": {
      "mini_app": "<mini_app>",
      "shown": "<shown>"
    },
    "name": "mini_apps_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
shownYestrue shows it, false hides it
mini_appYesThe mini-app's name, e.g. "Notes"
surfacesNoWhere; left out, every surface it has a card on

Output Schema

NameRequiredDescriptionDefault
nameYesNames it to mini_apps_update
aboutYes
shown_onYesThose the user shows it on
can_be_onYesThe surfaces it has a card on

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare non-destructive, idempotent mutation; the description adds that hiding is reversible in effect ('nothing is deleted'), that it affects only the caller's own setting and not others, and that already-open surfaces (tab, extension sidebar) reflect the change only after reload. That reload caveat is real behavioral context not present in annotations. It omits any error behavior for unknown mini-app names.

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?

Purpose is front-loaded in the first clause, and each later sentence carries distinct information (default scope, reversibility, propagation delay, return value). Phrasing is slightly convoluted in places ('It's the user's own on/off') but there is no filler to cut.

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 annotations, full schema coverage, and an output schema, the description covers what the agent must know to invoke it correctly, including the return value. Only error/precondition behavior for a non-existent mini-app is left implicit.

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 meaning beyond the schema: the mini-app identifier must be the exact name returned by mini_apps_list, and the omitted-`surfaces` default is framed as 'every surface it has a card on', which clarifies that not all three surfaces necessarily apply.

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 pair (show/hide) and resource (one of the user's mini-apps), specifies the identifier source ('by its name as mini_apps_list returns it') and the scope ('on `surfaces`, or on every one it has a card on when they're left out'). An agent can distinguish this from mini_apps_list without opening either 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?

Implies the correct workflow by requiring the name 'as mini_apps_list returns it', which routes the agent to discovery first, and explains the default behavior when `surfaces` is omitted. It does not state explicit exclusions or when not to use it, so it stops short of a 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