Skip to main content
Glama

List cover templates for a genre

list_templates_for_genre
Read-onlyIdempotent

List the cover templates of a genre (or one subgenre), each with a preview link. Free. Pass an id as generate_covers' template_id to pin that look; without one the art director designs the cover.

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": {
      "genre": "<genre>"
    },
    "name": "list_templates_for_genre"
  }
}

Input Schema

NameRequiredDescriptionDefault
genreYesGenre slug (e.g. "fantasy") or canonical value (e.g. "Fantasy").
subgenreNoOptional subgenre value (e.g. "romantasy") to list only the templates that subgenre renders from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent and closed-world, so the safety profile is covered. The description adds behavior beyond that: the call is free of charge and every result carries a preview link, and it explains the consequence of not supplying a template id. Pagination and result-size limits are not mentioned.

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?

Three short sentences, front-loaded with what is listed, followed by cost and the downstream use of the returned id. No filler and no repetition of the schema.

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, read-only listing tool with full schema coverage and annotations, the description covers purpose, cost, result content and next step. Only edge cases such as an empty template set or result limits are left unaddressed.

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 100%, so genre slug versus canonical value and the optional subgenre filter are already documented. The description only adds that subgenre narrows to 'one subgenre,' which is a restatement rather than new meaning, so the baseline applies.

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?

States a specific verb and resource: lists cover templates scoped to a genre or single subgenre. It also says what each result contains (a preview link), which makes the tool's output distinguishable from list_covers_for_book, though it never names a sibling alternative explicitly.

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

Usage Guidelines4/5

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

Gives clear downstream context: the returned id can be passed as generate_covers' template_id to pin the look, and if no template is chosen the art director designs the cover. That tells the agent when this tool's output matters, but it does not say when to skip this tool or what to do if the genre has no templates.

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