Skip to main content
Glama

get_user_context

Retrieve persistent user profile and session context, optionally filtered by project, so AI coding assistants can tailor responses and maintain continuity across sessions.

Instructions

获取用户画像和上下文信息

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_user_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo项目名称(可选)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses almost nothing: what "context" actually contains, whether the call is a pure read, whether results are cached or refreshed, and what happens when project is omitted are all unstated. Only the verb 获取 weakly implies a read operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with no wasted words and is trivially front-loaded, but the brevity comes from under-specification rather than disciplined editing, leaving no structure to guide an agent.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only source of information about return values, yet it never says what a "user profile and context" response looks like or how large it is. For a tool whose entire value is the shape of its returned context, this is a significant gap.

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 single parameter has 100% schema description coverage, so the schema already explains that project is an optional project name. The description adds no further meaning, such as what happens when project is absent, but the baseline of 3 applies when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb (获取/get) and two resources (用户画像 user profile, 上下文信息 context information), so the general intent is readable. However, "上下文信息" is vague and overlaps heavily with siblings such as get_memories, get_recent_conversations, and refresh_profile, with no statement of how this tool differs from them.

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?

There is no when-to-use guidance at all: no indication of when to call this instead of get_memories or get_recent_conversations, no prerequisites, and no note on whether the optional project argument changes the scope of the result.

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