Skip to main content
Glama

Set a post's cover

set_feature_image
Idempotent

On one site of the account, named in site. The cover picture, by address — from upload_media or the library — with its alt text and a caption. An empty url removes it. A revision the writer can undo.

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": {
      "site": "<site>",
      "post_id": "<post_id>",
      "url": "<url>"
    },
    "name": "set_feature_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNo
urlYes
siteYesThe site to work on, as list_sites names it
captionNo
post_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations it adds two valuable behaviors: passing an empty url removes the cover, and the change is stored as a revision the writer can undo. Both are consistent with idempotentHint=true and destructiveHint=false, so no contradiction. It still does not say what the call returns or whether it fails on a published post.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very short and front-loaded with the scoping constraint, with nothing padded. The telegraphic sentence fragments, however, cost parse effort — several clauses have no verb or subject, making the structure harder to read than a single plain sentence would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation with no output schema, the description covers the url semantics, alt/caption intent and undo behavior, which is most of what an agent needs. The two gaps are the required post_id and any error/permission conditions, leaving it adequate but not 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 20%, so the description must compensate — and it partly does, explaining that url is an 'address' resolved from upload_media or the library and that an empty value means removal, plus naming alt text and caption. post_id, a required parameter, is left completely undocumented in both the schema and the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragments identify the resource ('The cover picture, by address — from upload_media or the library'), but no verb ever appears: the reader must reconstruct 'sets' from the name/title. It does state scope ('On one site of the account, named in site'), yet never distinguishes this from siblings like edit_post or update_post_settings that could plausibly also touch a post's image.

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?

'from upload_media or the library' usefully points at the sibling that produces the url, which is real routing guidance. However, there is no statement of when to prefer this over edit_post or update_post_settings, and no prerequisite is given (e.g. whether the post must be in an editing session).

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