Skip to main content
Glama

Share a post preview

posts_share
Destructive

A read-only link that shows a draft or queued post in its platform's look, for a co-founder or client with no account (no login, unguessable, never indexed). Asking again answers the same link; revoke: true kills it for good. Needs the write scope.

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": {
      "id": "<id>"
    },
    "name": "posts_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe post id.
revokeNoKill the link instead.

Output Schema

NameRequiredDescriptionDefault
idYes
revokedNo
previewUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses idempotency ('asking again answers the same link'), revocation permanence ('revoke: true kills it for good'), and the security posture (no login, unguessable, never indexed). The phrase 'read-only link' describes the artifact for viewers, not the operation, and 'needs the write scope' plus the permanent revoke are consistent with destructiveHint=true and readOnlyHint=false.

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?

Three tight sentences, front-loaded with what the link is and who it is for, followed by lifecycle and permission details. Every sentence carries information; the phrasing 'asking again answers the same link' is slightly awkward but not wasteful.

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?

For a two-parameter tool with full schema coverage and an output schema, the description covers what an agent needs: permission requirement, idempotent behavior, and the destructive consequence of revoke. Nothing material for correct invocation 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 the baseline would be 3, but the description adds real meaning to 'revoke' by specifying the effect is permanent ('kills it for good'). It also clarifies that omitting revoke and re-asking yields the same existing link, which the schema does not convey.

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 names the artifact produced (a read-only preview link showing a draft or queued post in its platform's look) and the audience it serves, which is far more than a restatement of the title. It does not explicitly differentiate itself from siblings like posts_get or posts_publish, but the share-link framing is distinctive enough that an agent can identify the operation.

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

Usage Guidelines4/5

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

It gives a clear use context (sharing with a co-founder or client who has no account) and states the prerequisite (needs the write scope), which an agent can check before calling. It stops short of naming an explicit alternative or when-not-to-use condition, so it falls just below the top band.

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.