Skip to main content
Glama

List themes

list_themes
Read-onlyIdempotent

Lists the store's themes, the live one first: id, name, role, and whether sections or pages can go on it. Pass an id as theme_id to work on a theme shoppers don't see yet.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_themes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real behavioral value by disclosing the result ordering (live theme first) and the field set, and hints that unpublished themes are returned too. It stops short of saying whether drafts/disabled themes are always included or how large the list can be.

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?

Two compact sentences, front-loaded with the purpose and output shape, with no filler. The final clause is compressed to the point of ambiguity about which tool it applies to, which is the only structural weakness.

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 no output schema, the description usefully enumerates the returned fields and their order, which is the main thing an agent needs for a list tool. The context is sufficient except for the dangling theme_id instruction, which is not resolved anywhere else in the definition.

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?

The tool takes zero parameters, which normally sets a baseline of 4, but the description introduces 'theme_id' with no such parameter in the schema. Read charitably this means the returned id can be passed to other theme-targeting tools, but as written it looks like an input to this call, which is misleading for a parameterless tool.

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 ('Lists the store's themes') and immediately names the returned fields (id, name, role, section/page capability) plus ordering ('the live one first'). An agent knows exactly what this tool yields and no sibling covers themes, so there is no routing ambiguity.

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

Usage Guidelines2/5

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

The description implies a discovery use (find themes, take an id from the result), but gives no explicit when-to-use or when-not-to-use framing. The trailing clause 'Pass an id as theme_id to work on a theme shoppers don't see yet' is guidance for a different call, not for this one, leaving the agent unsure what to do with this tool.

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