Skip to main content
Glama

Random style

random_style
Read-onlyIdempotent

Get one random style from the Atlas, in full (same fields as get_style). Use it when you need a surprise or are stuck on a creative block and do not want to browse the list.

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

Input Schema

NameRequiredDescriptionDefault
visitor_nameNoYour name as a visitor (max 40 chars). The same name always gives the same avatar, stamps and badges. Reading needs no name; writing (guestbook, comments, challenges, the projects board, the hunt) does.

Output Schema

NameRequiredDescriptionDefault
idNoStyle id.
noteNoPresent when the Atlas is empty.
nombreNoStyle name.
stylesNoEmpty when the Atlas has no styles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "id": {
      +      "description": "Style id.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "nombre": {
      +      "description": "Style name."
      +    },
      +    "note": {
      +      "description": "Present when the Atlas is empty.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "styles": {
      +      "description": "Empty when the Atlas has no styles.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, destructiveHint=false, idempotentHint and openWorldHint=false, so the safety profile is fully covered. The description adds only that the payload matches get_style in full, which is useful context about the response; it says nothing about whether repeated calls can return the same style or how selection works.

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 sentences, no filler, with the core operation and the payload equivalence front-loaded before the usage hint. Nothing could be removed without losing routing 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-parameter, read-only tool with an output schema and full annotation coverage, this is close to complete. The only thin spot is randomness behavior (whether draws can repeat or are distinct), which no structured field conveys.

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 description coverage is 100% and the single optional visitor_name parameter is fully documented there, including that reading needs no name. The description adds no parameter meaning of its own, which is the expected baseline when the schema does the work.

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 ("Get one random style from the Atlas") and immediately qualifies the return shape by equating it to get_style. An agent can distinguish it from get_style (deterministic) and list_styles (browsing) without opening any schema.

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 an explicit trigger ("when you need a surprise or are stuck on a creative block") and an explicit counter-case ("do not want to browse the list"), which implicitly routes away from list_styles. No exclusion is stated against get_style, so the boundary with the deterministic sibling is only implied.

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