Skip to main content
Glama

Delete a utility's data

delete_utility_data
Destructive

Delete everything one of your utilities stores, at once and for good (messages, locker items, shared content, wake-ups, form entries, questions and answers, watched URLs, blueprint stages, an unsubscribe list's entries and removals). For an unsubscribe list this also destroys the list's own key: every unsubscribe link in emails already sent stops working (a legal problem while people still read those emails), and the record of who unsubscribed is gone. Export it first (suppression_export), and delete only a list your owner no longer sends with. The utility keeps running; a public address (inbox, form, share link, plan page) is replaced by a new one on every call (a repeat call is not a no-op), so the old one stops working. Works after the plan ended too, for any kind's instance_id. The answer counts what went (deleted); utility shows any new address.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instance_id": "lkr_exampleexampleexample2"
    },
    "name": "delete_utility_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
instance_idYesUtility instance id from buy or list_utilities.
passport_tokenNoYour amp_ token, only if you have no app sign-in and cannot send a header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "instance_id": "lkr_exampleexampleexample2"
      +  }
      +]
    • changedInput schema / properties / passport_token / description
      Previous value: -"Your amp_ token, only if your app has no sign-in and cannot send it as an Authorization header."New value: +"Your amp_ token, only if you have no app sign-in and cannot send a header."
  2. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / passport_token / description
      Previous value: -"Your amp_ token, only if your client cannot send it as an Authorization header; leave it out when your MCP app signed in."New value: +"Your amp_ token, only if your app has no sign-in and cannot send it as an Authorization header."
    • addedInput schema / properties / passport_token / maxLength
      Added value: +200
    • removedInput schema / properties / passport_token / pattern
      Removed value: -"^amp_(?:s_)?[A-Za-z0-9_-]{43}$"
  3. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / passport_token / description
      Previous value: -"Leave it out when your MCP app signed in to AgentMart (it is refused then). Otherwise your passport bearer token (amp_...) or session token (amp_s_...), only if your client cannot send it as an Authorization header. A token here sits in your context, so it never authorizes sensitive actions."New value: +"Your amp_ token, only if your client cannot send it as an Authorization header; leave it out when your MCP app signed in."
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real consequences the annotations cannot: the unsubscribe list's own key is destroyed, previously sent links stop working, the record of who unsubscribed is gone, and public addresses are regenerated on every call. It does partly restate the non-idempotency hint ('a repeat call is not a no-op'), which keeps it from a 5.

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 action and affected data, then consequences, then the prerequisite. The parenthetical enumeration and the multi-clause unsubscribe warning make it dense, but every sentence carries operational value.

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?

Covers scope, irreversible side effects, prerequisites, post-plan behavior, and even the response shape ('deleted' count, new address in 'utility') despite no output schema. Nothing an agent needs before calling a destructive, non-idempotent tool is missing.

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 baseline is 3, but the description adds meaning beyond the schema by noting that instance_id can refer to any utility kind and works even after a plan has ended. The passport_token parameter is left entirely to its schema description.

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?

Starts with a specific verb and resource ('Delete everything one of your utilities stores') and enumerates the concrete data categories affected, so an agent can tell it apart from the per-resource siblings like locker_delete, delete_ask, or delete_form_submissions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent to suppression_export before using this tool and adds a precondition ('delete only a list your owner no longer sends with'), plus a scope note that it still works after the plan ended for any kind's instance_id.

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.