Skip to main content
Glama

Validate a proposed post

validate_post
Read-onlyIdempotent

Read-only dry run of publish-time validation. Leaves nothing behind: no saved post, reserved quota, upload, schedule or publication. Runs the real validation path inside a rolled-back transaction and returns structured platform, field, code, message and blocking issues. Takes existing media IDs.

Input Schema

NameRequiredDescriptionDefault
captionYesShared caption; may be empty when attaching media.
is_draftNoSafe default. Set false explicitly when scheduling or publishing.
media_idsNoPreviously uploaded media IDs. Omit on updates to preserve media.
publish_nowNoPublish immediately instead of saving a draft. Requires workspace opt-in.
scheduled_atNoFuture ISO-8601 timestamp including Z or an explicit offset.
content_pillarNoExact content pillar name from list_social_accounts.
platform_captionsNoCaption strings keyed by platform or platform:account_id.
social_account_idsNoAccount IDs from list_social_accounts, not platform names.
platform_configurationsNoPlatform-specific settings keyed by platform. On updates, the fields you send are merged into the stored settings; omitted platforms and fields keep their values.

Output Schema

NameRequiredDescriptionDefault
codeNoStable machine-readable error code. Present only for an error result.
validNo
errorsNoValidation messages keyed by input field.
issuesNoStructured validation issues.
messageNoSafe error summary. Present only for an error result.
retry_afterNoSeconds to wait before retrying a rate-limited request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, yet the description adds substantive behavior beyond them: no saved post, no reserved quota, no upload, no schedule, no publication, executed inside a rolled-back transaction, plus the shape of the returned issue data. This is exactly the side-effect disclosure an agent needs for a validation tool.

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?

Four dense sentences with zero filler, front-loading the single most important fact (read-only dry run) before the guarantee of no side effects and the return shape. Nothing is repeated from the title or schema.

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 9-parameter tool with nested platform_configurations, the description covers the essential risk question (does this write anything?) and defers parameter detail to a 100%-covered schema and return detail to the existing output schema. Nothing an agent needs to invoke it correctly is missing.

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%, so the schema already documents all 9 parameters (media_ids, is_draft, publish_now, platform_configurations, etc.) in detail. The description adds only the single note that it takes existing media IDs, which mildly reinforces media_ids semantics but adds little beyond the schema. Baseline 3 applies.

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?

States a precise verb+resource ('validate a proposed post' via a read-only dry run of publish-time validation) and immediately differentiates itself from the write siblings create_post/publish_post/schedule_post by declaring it saves nothing. An agent can tell it apart from the write tools without opening any schema.

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 clear context for use: run the real publish-time validation path before actually publishing, and it notes it 'takes existing media IDs', implying media must already be uploaded. It never names an explicit alternative (e.g. publish_post/create_post) or states a when-not condition, so it falls short of a 5.

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