Skip to main content
Glama

TinyFn

random_credit_card

Generate random credit card details (fake, for testing only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoCard type: visa, mastercard, amex, discover, or null for random
countNoNumber of cards to generate

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
valueNo
valuesNo
disclaimerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It states that the data is 'fake' and 'for testing', which is the key behavioral trait. However, it does not specify whether the generated numbers are valid (e.g., pass Luhn check) or the structure of the output.

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?

The description is a single, clear, and concise sentence. It contains no unnecessary words and directly communicates the purpose.

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?

Given the tool's simplicity and the presence of an output schema (context indicates true), the description is mostly complete. It could benefit from mentioning that the output includes common credit card fields, but the output schema likely covers that.

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 input schema has 100% description coverage for its two parameters (type and count). The description 'Generate random credit card details' adds no additional semantic value beyond what the schema already provides. Baseline score of 3 is appropriate.

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?

The description clearly states 'Generate random credit card details' with the verb 'Generate' and resource 'random credit card details'. It also adds the qualifier '(fake, for testing only)' which distinguishes it from other similar tools like format_credit_card or validate_credit_card.

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?

The description includes 'for testing only', which implicitly advises against using it in production. However, it does not explicitly mention when to use this tool versus alternatives such as format_credit_card or validate_credit_card.

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.