Skip to main content
Glama

Get theme

get_theme
Read-only

Get a theme's CSS variables. Leave slug empty to list every theme.

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": "get_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoTheme slug, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds that the payload is CSS variables and that omitting the slug switches the tool into a list mode, but says nothing about the shape of that list, what happens with an unknown slug, or whether the CSS is returned as a raw string versus a parsed map.

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?

Two short sentences, zero filler, and the primary purpose is front-loaded ahead of the mode-switching caveat. Nothing here could be cut without losing information.

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 one-optional-parameter read tool with annotations and no output schema, this is close to sufficient: the agent knows what it returns and how to trigger the listing mode. The remaining gap is the return shape in list mode and behavior on a nonexistent slug.

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% and there is only one optional parameter, so the schema carries the baseline. The description does add one genuinely non-obvious fact the schema omits: an empty slug means 'list all themes' rather than 'error' or 'default theme', which is meaning beyond 'Theme slug, optional'.

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 ('Get a theme's CSS variables') plus the dual mode (no slug = list every theme). It is distinguishable from get_component and get_skill by the word 'theme', but it never clarifies theme vs. get_template, the closest sibling.

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?

The conditional 'Leave slug empty to list every theme' gives explicit guidance for one mode, but there is no statement of when to reach for get_theme rather than get_template or the other get_* siblings. Usage is implied by the resource name rather than spelled out.

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