Skip to main content
Glama

Generate the dataset's cover image

generate_cover

Generates the dataset's branded 1200×630 cover and attaches it: the page, the Community tile and the share card all wear it. Every dataset gets exactly one, generated once its description is written. Call it only for a dataset that has no cover (get_my_dataset says has_cover). A dataset that already has one is refused cover_exists, because a new cover REPLACES the current one everywhere, including a cover a person uploaded; pass replace: true only when the person has asked for a new cover. subject says in plain words what the image should depict — the place, the instrument, the phenomenon — and nothing about style, colour or size, which the service fixes. Leave it out to derive one from the dataset's name and description. Example: {"dataset_id": "…", "subject": "A weather station on the edge of Denver International Airport under a wide sky"}. COSTS MONEY: about $0.10 per image, and it is rate-limited per person and per workspace. A rate-limited or busy answer means do without a cover for now and say so; never retry it in a loop. To retry the SAME generation after an uncertain answer, send the idempotency_key it returned. Returns {dataset_id, cover_image_url, color, idempotency_key, visibility, public_projection_synced, dashboard_url}. The cover is already saved on the dataset; do not follow it with update_dataset. visibility is who can see the dataset: private (this workspace only), link (anyone with its link) or public (listed on Mostly Right), or null if unknown. public_projection_synced only says the public copy is current: it is true for a private dataset too and never means the dataset is public. Report visibility, not that flag. Change it only with set_dataset_visibility, and only when the person asks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
replaceNo
subjectNo
dataset_idYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Big-ticket behaviors the annotations cannot express are disclosed: ~$0.10 per image cost, per-person and per-workspace rate limits, the no-retry-in-a-loop rule, the replacement semantics that can overwrite a human-uploaded cover, and the cover_exists refusal. It also preempts a likely misuse of the public_projection_synced flag, which annotations say nothing about.

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?

Front-loaded with the purpose and the one-per-dataset constraint before branching into cost, replacement and parameter nuance. It is long, but almost every sentence carries an actionable constraint; the return-value enumeration and visibility aside are the only portions that run a little past what an agent strictly needs.

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?

With no output schema, the description enumerates the returned fields and explains the two ambiguous ones (visibility enum values, and that public_projection_synced does not mean public). Combined with cost, rate-limit, refusal-code and idempotency guidance, an agent has everything needed to call this correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: subject is defined as plain-language content (place/instrument/phenomenon) with explicit exclusions for style, colour and size, plus what happens if omitted; replace and idempotency_key are both explained in terms of the person's intent. Only dataset_id is left implicit, and its role is obvious from context.

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 and resource ('Generates the dataset's branded 1200×630 cover and attaches it') and immediately scopes it as a one-per-dataset artifact. It also distinguishes itself from lookalike siblings, warning not to follow with update_dataset and routing visibility changes to set_dataset_visibility.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit preconditions and exclusions: call only when get_my_dataset reports has_cover=false, expect refusal code cover_exists otherwise, and pass replace:true only when the person explicitly asks. Names the alternative tools (get_my_dataset, set_dataset_visibility) and the exact retry path via idempotency_key.

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