Skip to main content
Glama

Delete a piece

delete_essay
Destructive

Soft-delete one of your pieces by id: it leaves every public surface (its article page, the directory, search, your creator feed) and stops being payable, and there is no undelete tool. If you only want it off the market for now, set status to "draft" with update_essay instead — that is reversible, this is not. Idempotent: deleting a piece you already deleted succeeds again rather than 404ing; only an id that is missing or not yours is 404 post_not_found. Returns 204 with no body, so there is nothing to read back. Pass a SIGN-IN-WITH-X header value you signed locally, and mint a FRESH one for this call: the write routes burn each nonce once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
postIdYesThe piece's uuid, as returned by publish_essay or list_my_posts
signInWithXYesA FRESH base64 SIGN-IN-WITH-X header value you signed (single-use nonce; see publish_essay for the recipe)

TDQS

A5/5.0
Behavior5/5

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

The annotations already flag destructiveHint: true, but the description goes far beyond by explaining the exact effects: leaves public surfaces (article page, directory, search, creator feed), stops being payable, and importantly, there is no undelete tool. It also notes idempotency (deleting an already deleted piece returns success, only missing or non-owned ids 404), and that the return is a 204 with no body. This is extremely transparent about every behavioral nuance.

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?

The description is compact yet comprehensive. Each sentence adds critical information: soft-delete behavior, irreversibility, alternative tool, idempotency, error cases, return format, and authentication instructions. No superfluous words or redundancy.

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?

Given the destructive nature and lack of output schema, the description covers everything an agent needs: the full effect of the operation, all edge cases (re-deletion, missing id), the authentication requirement, and the alternative tool. It leaves no gaps for a high-stakes mutation tool with two parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, meaning both parameters (postId and signInWithX) are already described in the schema. The description adds significant value beyond the schema: for signInWithX it clarifies it must be fresh, single-use, and references the recipe from publish_essay; for postId it mentions the id comes from publish_essay or list_my_posts. This assists the agent in constructing correct inputs.

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?

The description clearly states 'Soft-delete one of your pieces by id', which pairs a specific verb ('delete') with a resource ('piece'). It also distinguishes this from the sibling tool 'update_essay' by explicitly noting that setting status to 'draft' is reversible whereas delete is not, making the purpose unmistakable.

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?

The description explicitly tells when to use this tool (when you want a piece removed from all public surfaces and stop being payable) and when not to use it (if you only want it off the market temporarily, use update_essay to set status to 'draft' instead). It also mentions that there is no undelete tool, so the agent knows the alternative is irreversible.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: answer and search are both search-like but one returns a single synthesized answer vs a shortlist, which is a meaningful difference. A few overlaps exist, like get_article vs pay_and_read where both unlock content, but they handle payment differently. Naming is mostly clear but answer and search could cause temporary confusion.

Naming Consistency4/5

Overwhelmingly uses verb_noun pattern (get_article, delete_essay, list_articles, publish_essay, update_profile), which is predictable. answer and search are exceptions that don't follow the pattern, but they are the primary entry points for a key workflow, so their deviation is understandable and they still convey their purpose. Minor inconsistency keeps it from a 5.

Tool Count5/5

22 tools is on the higher end but wholly appropriate for a content marketplace that involves two distinct roles (creator and buyer) with separate write vs read flows, payment handling, search, trending signals, feedback, and image uploads. Each tool earns its place with a clear role in supporting either the publishing or the discovery/purchase workflow.

Completeness5/5

The tool surface provides complete coverage for both reader and publisher workflows. Readers can search, browse, preview, buy, read articles, and report outcomes. Creators can publish, list, update, soft-delete essays, manage their profile, upload images, track sales and stats. The answer feedback loop via report_search_outcome and get_trending is a notable addition that closes the loop. No obvious gaps for the intended domain.

Resources