Skip to main content
Glama

starter_allocation

Read-onlyIdempotent

Turn three risk answers (horizon, loss response, cash buffer) into a validated starting allocation using a fixed rubric and benchmark check.

Instructions

Turn a new user's risk answers into a starting allocation. Pass the three onboarding answers — horizon ('under_3_years' | '3_to_10_years' | 'over_10_years'), loss_response ('sell' | 'hold' | 'buy_more'), cash_buffer ('no' | 'partly' | 'comfortably') — and it maps them to a conservative/moderate/aggressive posture (a fixed, explainable rubric — never your guess) and returns that preset allocation validated against a benchmark (60-40 / all-weather / permanent, or 'none' to skip — default 60-40), same as propose_allocation. Ask the three questions in plain language first, then call this with the chosen answer tokens. Propose-only: a hand-designed starting posture, never a recommendation or a return forecast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
horizonYes
benchmarkNo60-40
cash_bufferYes
loss_responseYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoreYesrubric score 0-6 (higher = more growth-tolerant)
postureYesconservative | moderate | aggressive — from the answers
proposalYes
rationaleYesone plain-language reason per answer, plus the scoring line — the explainable trail from answers to posture; relay it, don't invent your own
Behavior4/5

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

Annotations already indicate readOnly=true and idempotent=true. The description adds that the mapping uses a fixed rubric (never a guess) and returns a preset allocation validated against a benchmark. It explicitly states it is not a recommendation or forecast, which is valuable behavioral context beyond annotations.

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 three sentences, no wasted words. It front-loads the purpose, then details parameters, then provides usage caveats and disclaimers. Every sentence adds value.

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

Completeness5/5

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

Given the moderate complexity (4 enum parameters) and existence of an output schema, the description covers inputs, mapping logic, validation, benchmark options, and workflow. It also disclaims recommendations. This is complete for an AI agent to invoke the tool correctly.

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

Parameters5/5

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

With 0% schema description coverage, the description fully documents all 4 parameters by listing their enum values and explaining their meaning (e.g., horizon, loss_response, cash_buffer, and benchmark with default). This compensates entirely for the missing 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: mapping new user risk answers (horizon, loss_response, cash_buffer) to a starting allocation. It specifies the verb 'Turn' and resource 'risk answers into starting allocation', distinguishing it from siblings like propose_allocation by noting it's for new users and uses a fixed rubric.

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 provides clear workflow guidance: ask questions first then call with answer tokens. It mentions propose_allocation as similar but does not explicitly state when to use one over the other. However, the context of 'new user' implies onboarding, so usage is well-defined.

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/disin7c9/asset-management'

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