Skip to main content
Glama
grammy-mcp
by louietyj

deleteStory

Destructive

Deletes a story posted by a bot for a managed business account. Use it with the can_manage_stories right to remove outdated or unwanted stories via business_connection_id and story_id.

Instructions

Deletes a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns True on success.

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": {
      "business_connection_id": "<business_connection_id>",
      "story_id": "<story_id>"
    },
    "name": "deleteStory"
  }
}

Input Schema

NameRequiredDescriptionDefault
story_idYesUnique identifier of the story to delete
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the deletion risk is covered structurally. The description adds real value beyond that: the required can_manage_stories business bot right and the True-on-success return contract, which an agent needs before invoking.

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?

Three short sentences, front-loaded with the action, followed by the permission prerequisite and return contract. Nothing is redundant or padded.

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?

For a destructive two-parameter tool with no output schema, the definition covers action, authorization precondition and success signal, which is enough to call it correctly. Minor omissions are error/failure behavior and whether deletion is idempotent.

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 coverage is 100% and both parameters carry their own descriptions, so the schema does the heavy lifting. The description adds no syntax or format detail (e.g. story_id type/range) beyond what the properties already state.

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 and resource ('Deletes a story') plus the ownership scope ('previously posted by the bot on behalf of a managed business account'), which separates it from general story tools. It does not explicitly name editStory or postStory, so the sibling differentiation is implied rather than stated.

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?

The bot-owned-story constraint implies when deletion is legal, but there is no explicit when-to-use or when-not-to-use guidance versus editStory or repostStory, and no mention of what happens when the story no longer exists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools