Skip to main content
Glama

What Alama knows about me

get_context
Read-onlyIdempotent

Start here. One bounded summary of the signed-in person: their wardrobe in numbers (garments per class, main colours, materials, formality) with the garments they use most, their written style profile, what the wardrobe is missing, their usual sizes, what they have recently worn, liked or rejected, and what they want. detail='summary' (default, under 2,500 tokens) is enough for most conversations; 'full' (under 8,000) adds the evidence behind each profile line and more garments. Use the garment ids with get_item. Call it once per conversation, not per message.

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

Input Schema

NameRequiredDescriptionDefault
detailNosummary

Output Schema

NameRequiredDescriptionDefault
gapsNoCore garment classes the wardrobe owns none of
sizesNoUsual size per garment class
wantsNoWhat the person has saved or said they want, each described in `what`
detailYes
personNodisplay_name and username
recentNoLatest facts (wore, liked, rejected, tried on…), each with a `subject` in words
profileNostatus (ready, building, not_enough_items), summary, lines [{kind, text, confirmed_by_person, garments_behind: how many of their garments support the line}], style_words, avoids
versionYesChanges whenever the content does
wardrobeNototal, by_class, colours, materials and formality as shares, and exemplars: the most-used garments across the classes, each with the id get_item takes
schema_nameYesalama.context/v1
generated_atYes
getting_startedNoSet when the wardrobe is empty or nearly empty: what to tell the person and how they add clothes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so the safety bar is met. The description adds genuinely new behavioral context the annotations cannot: explicit cost budgets ('under 2,500 tokens' for summary, 'under 8,000' for full) and a call-frequency rule, which lets an agent plan context usage.

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?

'Start here' is front-loaded and every clause carries information; the two-part structure (what you get → which detail level → how often to call) is easy to scan. It is dense as a single long enumerated sentence, though nothing is filler.

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?

With an output schema present, return shapes need not be described, and the description correctly focuses on content scope, cost, and cadence. The remaining gap is sibling overlap: an agent cannot tell from this text whether style_profile and wardrobe_gaps are alternatives or already subsumed here.

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?

Schema coverage is 0% for the single 'detail' parameter, so the description must carry the load — and it does, defining both enum values with concrete token ceilings and stating what 'full' adds ('the evidence behind each profile line and more garments'). That is meaning well beyond the bare enum in the schema.

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 names a specific verb and resource ('One bounded summary of the signed-in person') and then enumerates the exact contents: wardrobe counts, style profile, gaps, sizes, recent signals, and wants. An agent can immediately distinguish this holistic-snapshot tool from per-item siblings like get_item or style_profile.

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?

'Start here' plus 'Call it once per conversation, not per message' gives explicit invocation guidance and frequency discipline, and it routes the agent onward ('Use the garment ids with get_item'). It stops short of stating when NOT to use it, e.g. whether calling style_profile or wardrobe_gaps separately is redundant given this already returns those sections.

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.

Resources