Skip to main content
Glama

Random entry

random_entry
Read-only

Fetches a random catalog entry, optionally filtered by query, platform, region, or serial. Use it to discover a random item matching specific criteria.

Instructions

A random entry, optionally narrowed by query, platforms, regions or serial.

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_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
serialNo
regionsNo
platformsNo

Output Schema

NameRequiredDescriptionDefault
entryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already establish read-only, open-world, and non-idempotent behavior. The description reinforces randomness but does not explain how random selection works, whether filter conditions combine with AND or OR, or how the tool behaves when no entry matches.

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 single front-loaded sentence with no wasted words, and it names the optional narrowing filters efficiently. Its terseness contributes to under-specification, but the dimension of conciseness and structure is handled well.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a read-only retrieval tool with four optional parameters and an output schema, so the description does not need to explain return values. However, it omits filter semantics and no-match behavior, which are essential for correct invocation of an open-world random lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 parameter meaning, but it only names the four filters without explaining matching rules, accepted formats, or array semantics. Listing the parameters is better than nothing, but it leaves most semantic questions unanswered.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it returns a random entry and can be narrowed by query, platforms, regions, or serial. That is enough to infer the resource and that selection is random rather than exhaustive, but the phrasing is a noun fragment and does not clearly distinguish it from sibling retrieval tools such as get_entry or search_entries.

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 usage through the available filters, but gives no explicit guidance on when to choose this over search_entries or get_entry. It also does not state what happens when filters match multiple entries or no entries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.