Skip to main content
Glama

AutoTasker Hub — China Social Data API

random

Generate random integers or strings with configurable range and length. $0.01 USDC.

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

Input Schema

NameRequiredDescriptionDefault
maxNo
minNo
typeNoint
countNo
lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses a per-call cost of $0.01 USDC, but says nothing about whether length is ignored for integers or min/max ignored for strings, whether the call is idempotent, what the response shape is, or any auth requirements.

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 short, front-loaded sentences with no filler; the core capability comes first and the cost follows. The brevity is efficient, though it comes at the expense of the parameter interaction details noted elsewhere.

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?

For a five-parameter tool with zero schema coverage, no annotations, and no output schema, the definition is thin. An agent cannot tell from the description how 'length', 'min'/'max', and 'count' relate to the selected 'type', which is the main thing needed to invoke it correctly.

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 all five parameters depend on the description for meaning. It mentions range (min/max) and length, but omits count entirely and never explains the conditional interaction between 'type' and the other parameters, leaving the agent to guess which fields matter for which type.

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?

The description names a specific verb and resource ('Generate random integers or strings') and scopes it to configurable range and length, so an agent knows exactly what it produces. It does not explicitly distinguish itself from the many random_* siblings (random_user, random_fox, etc.), which generate fixed-format data rather than parameterized values.

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?

There is no statement of when to use this tool versus alternatives, nor any prerequisites or exclusions. The only implicit guidance comes from the phrase 'configurable range and length', which hints at parameterized generation but never tells the agent to pick this over the sibling random_* tools.

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.