Skip to main content
Glama

Capture a post from X

capture_tweet

Render a public X post as a 1080px-wide PNG with avatar, text, media, date, and counts; choose dark or light, and include the replied-to post if needed.

Instructions

Draw a public x.com post the way X shows it (avatar, name, text, media still, date, counts) as a 1080px-wide PNG media key, dark or light, optionally under the post it replies to. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe post URL (x.com/<handle>/status/<id>) or its numeric id.
themeNoThe x.com theme to draw it in. Defaults to dark.
threadNoAlso draw the post this one replies to, joined by the thread line.
variantNowide for 16:9 and square frames, tall for 9:16. Defaults to wide.
budgetUsdNoOptional: the most this call may spend, in dollars, default 2, max 10.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
mediaYes
outputNoThe tool's own result, shaped by the tool.
chargedUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare write-capable, non-destructive, and open-world. The description adds real behavioral context the annotations cannot carry: the budget is held during the run and released, default 2/max 10 USD, and a write scope is required. It stops short of saying where the resulting media key lives or whether it persists.

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?

One tight paragraph that front-loads what gets drawn and the output format before the cost/scope caveats. Every clause earns its place despite the parenthetical density.

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?

With an output schema present, return values need not be described, and the definition covers output format, cost model, scope requirement, and the reply-thread option. Minor gap: no mention of failure modes or what happens if the post is private/deleted.

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 100%, so the schema already documents url, theme, thread, variant, and budgetUsd. The description restates theme (dark/light), thread (draw the replied-to post), and the budget default/max without adding syntax or format detail 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 specific verb (Draw/capture) plus resource (a public x.com post) and the exact output artifact (1080px-wide PNG media key), listing the rendered elements. This clearly distinguishes it from rendering siblings like screenshot_page or render_carousel.

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?

Implies usage context (public posts, needs the write scope, free budget model) but never states when to pick this over screenshot_page or render_thumbnail. The 'Needs the write scope' line is useful gating info, yet no explicit alternatives or exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.