Skip to main content
Glama

Delete a BrewPage publication or KV key

delete_publication
Destructive

Permanently delete the exact publication. For KV, specify key to delete that key only. Deleting the last key also removes the store. Omitting key deletes the entire store. A secret ({"kind":"secret","id":} or its manage link): a working link stops working at once, then its record leaves your list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
idNoPublication id, or a secret's 10-character ref
keyNoKV key. Excludes hosting.
kindNoPublication kind returned by publish or list; secret with its ref as id
manageUrlNoPrivate link as target and proof.
namespaceNo
ownerTokenNoPrivate owner proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Publication id, or a secret's 10-character ref"
    • changedInput schema / properties / kind / description
      Previous value: -"Publication kind returned by publish or list"New value: +"Publication kind returned by publish or list; secret with its ref as id"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "html",
      -  "site",
      -  "file",
      -  "json",
      -  "kv"
      -]New value: +[
      +  "html",
      +  "site",
      +  "file",
      +  "json",
      +  "kv",
      +  "secret"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description is not the only source of danger signaling. It still adds genuinely useful consequences beyond the annotations: permanence, that omitting key wipes the entire store, that deleting the last key removes the store, and that a secret's working link stops working immediately.

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 action, then the KV and secret caveats, with essentially no filler. The secret sentence is a grammatical fragment ('A secret (...): a working link stops working at once...') that takes a re-read, which costs it a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with six optional parameters and no output schema, the description covers the destruction semantics well. However, with zero required parameters it never states which inputs are needed per kind (e.g., whether ownerToken or manageUrl is mandatory proof), leaving a real gap before invocation.

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?

With 83% schema coverage the baseline is 3, and the description earns above that by explaining the interaction between key and the store as a whole and by spelling out the secret shape and manage-link case. It still does not clarify what manageUrl/ownerToken prove or which combinations are required for each kind.

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?

States a specific verb plus resource: 'Permanently delete the exact publication', and the title/resource scope (publication vs KV key) is named. It does not differentiate itself from siblings such as delete_page_data or update_publication, so it stops short of a 5.

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

Usage Guidelines3/5

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

It explains the mode selection nicely: specify key to delete one key, omit key to delete the whole store, 'key ... excludes hosting', and how a secret behaves. But there is no guidance on when to reach for this tool versus the sibling deletion/update tools, leaving that inference to the agent.

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.