Skip to main content
Glama
oneguard-sa

oneguard-mcp

Official
by oneguard-sa

Generate a random value

oneguard_generate
Read-only

Generate random strings locally for temporary or non-secret use. Returns the values directly in conversation, storing nothing—for secrets, use the dedicated secret generation tool instead.

Instructions

Generates one or more random values locally and returns them. Nothing is stored anywhere. Note that the returned value passes through this conversation — if the value is going into a OneGuard secret, use oneguard_secrets_generate instead, which stores it without ever revealing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoHow many values to generate. Default 1.
lengthNoNumber of characters. Default 16.
numbersNoInclude 0-9. Default true.
specialNoInclude !@#%^&*()-_=+[]{}|;:,.<>? . Default true.
lowercaseNoInclude a-z. Default true.
uppercaseNoInclude A-Z. Default true.
min_numbersNoMinimum digits in the value. Default 2.
min_specialNoMinimum special characters. Default 2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds meaningful behavioral context beyond that: generation is local, nothing is stored, and the returned value passes through the conversation. This caveat about value exposure is highly relevant for an AI agent deciding whether to call the tool.

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?

Three short sentences with no wasted words. The core action is front-loaded, followed by the important no-storage guarantee and the routing caveat. Every sentence earns its place.

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 tool with all-optional parameters, a fully self-documenting schema, and read-only annotations, the description covers purpose, privacy, and the correct alternative. It does not specify the exact return format, but 'returns them' is sufficient given the schema and the simple nature of the tool.

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% with descriptions and defaults for all 8 parameters, so the description does not need to repeat parameter-level details. It adds no extra parameter semantics, which lands at the baseline for fully documented schemas.

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 exactly what the tool does: generates random values locally and returns them. The description also differentiates it from oneguard_secrets_generate by explicitly contrasting the storage/revelation behavior, so an agent can distinguish the two without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an explicit decision rule: if the generated value is going into a OneGuard secret, use oneguard_secrets_generate instead. It names the alternative and the condition that selects it, which is clear routing guidance.

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