Skip to main content
Glama

generate

Create JSON constraints that keep an LLM character's voice consistent and prevent persona drift using the FIVE engine.

Instructions

Generate persona constraints using the FIVE engine.

This tool calls the FIVE Persona Engine API to produce JSON constraints that prevent persona drift and keep an LLM character's voice consistent.

Each call costs $1 and consumes one credit from your account.

Args: character_name: Name of the character to generate constraints for. q1: Personality axis 1 – choose A, B, C, or D. q2: Personality axis 2 – choose A, B, C, or D. q3: Personality axis 3 – choose A, B, C, or D. q4: Personality axis 4 – choose A, B, C, or D. s1: Style slider 1 (1-5, default 3). Optional fine-tuning. s2: Style slider 2 (1-5, default 3). Optional fine-tuning. s3: Style slider 3 (1-5, default 3). Optional fine-tuning. s4: Style slider 4 (1-5, default 3). Optional fine-tuning. free_text: Optional free-form description to further guide generation.

Returns: A dict with keys: status, remaining (credits left), constraint (the generated JSON constraint object).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
character_nameYes
q1Yes
q2Yes
q3Yes
q4Yes
s1No
s2No
s3No
s4No
free_textNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses cost per call and credit consumption, which is helpful. However, it lacks details on idempotency, side effects, or rate limits. The return format is described, but behavioral transparency is not exhaustive.

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 well-structured, starting with a one-line summary, then engine explanation, cost, and a clear parameter list. While the style slider descriptions are repetitive, the overall structure is logical and efficient.

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 complexity of 10 parameters, no output schema, and no annotations, the description covers the essential aspects: purpose, inputs, output format, and cost. It is sufficiently complete for an agent to invoke the tool correctly, though additional behavioral details would be beneficial.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description adds significant value by explaining each parameter: character_name, q1-q4 (enum selections), s1-s4 (integer ranges with defaults), and free_text. It clarifies the purpose of optional fields and provides defaults, compensating for the lack of schema descriptions.

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 the tool's purpose: 'Generate persona constraints using the FIVE engine.' It explains the specific API and output format, leaving no ambiguity about what the tool does. With no sibling tools, distinction is not applicable.

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 provides no guidance on when to use this tool versus alternatives or prerequisites. It simply describes the function without context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kiro0x/five-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server