Skip to main content
Glama

rewrite_slide

Rewrite one slide of an image or carousel post (slide numbers start at 1) and draw the post again. Not counted against the plan.

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": {
      "post_id": "<post_id>",
      "slide": "<slide>"
    },
    "name": "rewrite_slide"
  }
}

Input Schema

NameRequiredDescriptionDefault
slideYes
post_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare it is a non-destructive write, and the description adds genuinely non-obvious behavior: slide numbering is 1-based, the entire post is redrawn as a side effect, and the call is exempt from plan quota. It does not say whether the other slides' visuals stay identical or whether the rewrite is reversible, which keeps it below 5.

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?

Two tight sentences with the action and its side effect front-loaded, followed by the quota exemption. No redundant restatement of the name or title and no wasted clauses.

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 two-parameter tool with no output schema, this covers action, side effect, indexing convention, and cost. The only meaningful omission is any statement about what is returned (e.g., a new image URL or run id) and whether other slides are affected.

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 0%, so the description carries the burden. It correctly clarifies that 'slide numbers start at 1', which is the key ambiguity for the integer parameter, but says nothing about post_id's format, and the schema's 1-10 bound is not explained (e.g., what happens with a slide beyond the post's length).

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?

Specific verb plus resource plus effect: 'Rewrite one slide of an image or carousel post ... and draw the post again.' An agent immediately knows this regenerates a single slide and re-renders the post. It does not name a sibling (e.g., create_post or generate_image) to contrast against, so it stops short of 5.

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?

Usage is only implied: the tool is for touching one slide rather than regenerating a whole post, and 'Not counted against the plan' hints it is a cheap retry path. There is no explicit when-to-use rule, no prerequisites (e.g., does the post need to exist?), and no guidance on when a full regenerate would be preferable.

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