Skip to main content
Glama

Apply a candidate as the post's image

apply_post_image
Destructive

Makes one generated or uploaded candidate the post's image and, for a post already on the CMS, pushes the new featured image there (image only, the text is untouched). The previous image is kept so revert_post_image can undo it. Destructive: the first call returns a summary and a confirmToken; call again with confirmToken to proceed.

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to act on. One of: fencestainingdenver.com.
postIdYes
candidateIdYes
confirmTokenNoConfirmation token from a previous call of this tool with the same arguments. Omit on the first call to get a summary and a token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotence, but the description adds genuinely new behavioral context: the previous image is retained for undo, the CMS push affects only the featured image, and the first call is non-mutating and returns a summary plus confirmToken. It stops short of covering token expiry, permission requirements, or failure behavior.

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 the action and followed by consequence, undo path, and the confirmation flow. Every sentence carries information, though the confirmation mechanics could be compressed into the schema-referenced field.

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 4-parameter mutation with no output schema, the description covers the key agent needs: what changes, what is preserved, how to reverse it, and that a two-step confirm gate exists. It omits error/edge behavior and the content of the summary, which keeps it from being fully complete.

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 only 50% (site and confirmToken are documented; postId and candidateId are bare strings). The description partially compensates by implying candidateId is a generated/uploaded candidate and postId is a post already on the CMS, but it adds no format, ID-source, or selection detail beyond that inference.

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?

The first sentence names a concrete verb (makes one candidate the post's image) plus the resource and the CMS side effect, which cleanly separates it from siblings like upload_post_image, get_post_image, and get_photo_candidates. It also states the scope restriction (image only, text untouched).

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 routes the agent: use revert_post_image to undo, and it explains the required two-call confirmation sequence with confirmToken. It does not explicitly state prerequisites (e.g. that a candidate must first exist from get_photo_candidates) or when not to use it, so it falls short of a full when/when-not guidance.

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.