Skip to main content
Glama
grammy-mcp
by louietyj

postStory

Publishes a story on behalf of a managed business account; requires the can_manage_stories bot right and returns the created Story.

Instructions

Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story 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>",
      "content": "<content>",
      "active_period": "<active_period>"
    },
    "name": "postStory"
  }
}

Input Schema

NameRequiredDescriptionDefault
areasNoA list of clickable areas to be shown on the story
captionNoCaption of the story, 0-2048 characters after entities parsing
contentYesContent of the story
parse_modeNoMode for parsing entities in the story caption. See formatting options for more details.
active_periodYesPeriod after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400
protect_contentNoPass True if the content of the story must be protected from forwarding and screenshotting
caption_entitiesNoA list of special entities that appear in the caption, which can be specified instead of parse_mode
post_to_chat_pageNoPass True to keep the story accessible after it expires
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true. The description adds the required permission and notes that it returns Story on success, but it does not describe side effects, rate limits, or other behavioral constraints beyond that.

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 three short sentences with no wasted wording. Purpose, permission requirement, and return value are front-loaded and easy to scan.

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 moderately complex tool with nine parameters and no output schema, the description covers the essential purpose, required authorization, and return type. It is largely complete, though additional detail about side effects or error conditions could improve it.

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 100%, so all nine parameters are documented in the schema itself. The description does not add parameter-level meaning beyond the schema, which is acceptable given the full schema coverage baseline.

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 states a specific verb and resource: posts a story on behalf of a managed business account. It clearly establishes creation scope, though it does not explicitly distinguish itself from sibling tools such as editStory, repostStory, or deleteStory.

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 gives useful context that the tool is for managed business accounts and requires the can_manage_stories business bot right. However, it does not explain when to use this tool versus alternatives or when not to use it.

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