Skip to main content
Glama

Remove from the app

myapp_remove
Destructive

Remove a page, a block of the home or an item of the menu. When the removal cannot be undone, nothing is removed yet: the answer lists what would go, and the user confirms it in the preview card or on a confirmation page. The app can also change outside this conversation: before acting on what was read earlier, read it again with myapp_get_app; after a conflict or an unexpected result, read it again before trying again. With draft, some changes come once the app is kept in the user's account (images and other files, content, sources, extensions, user groups, changes that cannot be undone): the refusal says which, and myapp_create with the draft keeps the app.

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": {
      "target": "<target>"
    },
    "name": "myapp_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNo
draftNoSecret of a draft, returned once by myapp_create without an account: the app as it takes shape, before it is kept in the user's account. Pass it back as draft, instead of app, to read, preview and change it, until myapp_create with this draft keeps the app in the account. It is not an id: do not show it to the user.
targetYesWhere the change applies, with names read with myapp_get_app.
with_childrenNoAlso remove the pages of a folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / target / properties / part / description
      Previous value: -"Not for a screen: a screen (walkthrough, cart…) is named by target.item, not by part. Part of the target: list (the list of a page), item_page (the page of one item), header, category_bar, comments, search, settings (page settings), block (a home block), menu parts, which depend on the menu type (read target scope menu without part to get them; for example, a floating tab bar has menu, menu_button and more_button), app-wide design parts (palette, typography, background, buttons, fields, floating_button, haptics, icon_set, login_screen, spacing, thumbnails), and home."New value: +"Not for a screen: a screen (walkthrough, cart…) is named by target.item, not by part. Part of the target: list (the list of a page), item_page (the page of one item), header, category_bar, comments, search, settings (page settings), block (a home block), menu parts, which depend on the menu type (read target scope menu without part to get them; for example, a floating tab bar has menu, menu_button and more_button), app-wide design parts (palette, typography, background, buttons, fields, floating_button, haptics, icon_set, login_screen, spacing, thumbnails), and home, a part of scope app with no setting to read or change: the home page is a page (part settings), and each block of the home is a target of scope home_block (part block)."
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description explains the confirmation/preview flow for irreversible removals, the need to re-read before acting on earlier reads, the retry behavior after conflict, and draft deferral semantics. These are substantive operational details an agent needs for a destructive tool.

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?

The opening sentence is front-loaded and the following sentences each carry relevant behavioral rules. Some phrasing is dense and slightly hard to parse ('the refusal says which'), but there is little wasted content.

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?

It covers the key behavior for a complex destructive tool: removal targets, confirmation, stale state, retries, and draft caveats. It is not fully complete because it omits the app parameter and does not mention all scopes (app, menu, screen) or with_children, though those are partly covered by the schema.

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 75%, so most parameter meaning is already supplied by the schema. The description adds useful draft-related behavior, but it does not explain the app parameter or clarify with_children, and its target coverage does not add much beyond the nested schema descriptions.

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?

The description opens with a specific verb and resource ('Remove a page, a block of the home or an item of the menu'), so the action is immediately clear. It does not explicitly contrast with myapp_change or myapp_undo, and it names only a subset of the target scopes supported by the schema, so sibling differentiation is limited.

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?

It gives concrete usage context: irreversible removals are not applied immediately and instead return a preview for confirmation. It also tells the agent to re-read with myapp_get_app before relying on stale data and after conflicts, but it does not state explicit alternatives such as editing or undoing instead of removing.

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.