Skip to main content
Glama

Samuelz® Marketing

Entwurf ändern

edit_public_post_draft
Idempotent

After explicit user instruction replace one durable private draft using postId and its current expectedRevision plus the complete intended values. Omitted optional image/event/schedule clears that value. Identity stays stable; stale edits and attempted or ambiguous publications are blocked. A changed draft requires a new exact human approval before any delivery. No approval flag, provider call, delivery scheduling or publication. POST /api/v1/tenant/write/edit_public_post_draft.

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": {
      "postId": "<postId>",
      "expectedRevision": "<expectedRevision>",
      "target": "<target>",
      "content": "<content>"
    },
    "name": "edit_public_post_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
targetYes
contentYes
eventIdNo
scheduleNo
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / schedule / properties / scheduledAt / description
      Added value: +"Exact reviewed publication instant in UTC with trailing Z, normalized to milliseconds; do not reinterpret a local clock time or shift an approved schedule."
    • addedInput schema / properties / schedule / properties / timeZone / description
      Added value: +"Explicit IANA time-zone name or UTC used to display this same reviewed instant; it does not change scheduledAt or grant publication authority."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, it discloses genuinely non-obvious behavior: omitted optional image/event/schedule fields are cleared, identity stays stable, stale-revision edits and publication attempts are blocked, and a new human approval is required before delivery. This is far more than the readOnly/idempotent/destructive hints convey. The clearing semantics sit in mild tension with destructiveHint=false, but because the clearing is explicitly disclosed and the draft still requires re-approval, it does not rise to a contradiction.

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?

Five tight sentences, front-loaded with the action and its guards, then the clearing rule, then the approval and non-scope clauses. The closing endpoint string is low-value for an agent but harmless. No filler or repetition.

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 6-parameter nested-object mutation with no output schema, the description covers the safety-critical surface: revision guarding, full-replace semantics, field clearing, approval gating, and explicit non-publication. The main residual gap is the response shape, which is never described and cannot be inferred from an output schema.

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 reported at 0%, so the description must compensate, and it partly does: it explains that postId plus expectedRevision identify and guard the draft, and that callers must supply 'complete intended values' (i.e., full replace rather than partial patch) with omission meaning clear. It adds no guidance on target/connectionId, content/languageCode, or eventId semantics, so roughly half the parameters remain unexplained.

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: 'replace one durable private draft' keyed by postId and expectedRevision, with the full intended value set. An agent can distinguish this from read-oriented siblings like get_public_post_draft. It stops short of naming which sibling to use instead when the draft is not yet created (prepare/save), so it is clear but not fully differentiated.

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?

Gives an explicit precondition ('After explicit user instruction') and a clear scope boundary ('No approval flag, provider call, delivery scheduling or publication'), which tells the agent what this tool must not be used for. It never names an alternative sibling for the create-vs-edit decision, so the when-not guidance is present but the alternatives routing is left implicit.

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.

Resources