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"}. Generation 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}. Confirm briefly that the cover was saved. 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.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "generate_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
replaceNo
subjectNo
dataset_idYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior1/5

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

The description adds rich behavioral context—rate limits, idempotency keys, return fields, and visibility semantics—but it also says a new cover REPLACES the current one everywhere, including a cover a person uploaded. The annotations declare destructiveHint:false, which is inconsistent with that overwrite capability.

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?

The description is a dense single paragraph, but it is front-loaded with the action and then covers preconditions, parameters, retry behavior, returns, and post-call guidance. It is long, though nearly every sentence adds operational value; tighter formatting would improve readability.

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 still explains the returned fields and how to interpret visibility and public_projection_synced. It covers preconditions, rate-limit handling, retries, post-call confirmation, and the sibling tool for visibility changes, so an agent has enough to call and report correctly.

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 must carry the parameters, and it does: subject is explained in detail, replace is restricted to an explicit request, and idempotency_key is described as the retry mechanism for the same generation. dataset_id is clear from the dataset-scoped 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?

The description states a specific verb and resource: 'Generates the dataset's branded 1200×630 cover and attaches it'. It scopes the action to datasets without a cover and explicitly distinguishes get_my_dataset, update_dataset, and set_dataset_visibility by their roles.

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?

It gives explicit when-to-call conditions: only for a dataset with no cover, determined via get_my_dataset's has_cover. It also states the cover_exists refusal, restricts replace:true to an explicit user request, and explains rate-limit and retry handling.

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