Skip to main content
Glama

memory_context_render

Generates prompt-ready memory and slang segments for direct concatenation, enabling platform bridges to inject relevant conversational context without extra formatting.

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

Input Schema

NameRequiredDescriptionDefault
maxCharsNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the output shape (two labelled sections that can be concatenated directly), which is useful, but says nothing about whether maxChars truncates output, how truncation is handled, whether the call reads or mutates session state, or what happens when the session is empty.

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?

A single short sentence that front-loads the produced artifact, with no filler. It is efficient, though the bracketed jargon 【记忆】【黑话】 assumes familiarity rather than explaining itself.

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?

Placeholder correction: relative to a zero-annotation, no-output-schema tool with two undocumented parameters, the definition is under-specified. It tells the agent what comes out but not how to drive it, so it is not sufficient for a correct first call.

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

Parameters1/5

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

Schema description coverage is 0% for both parameters, and the description never mentions maxChars or sessionId. An agent cannot learn from this text whether sessionId defaults to the current session, whether omitting it aggregates across sessions, or what unit/limit maxChars imposes.

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 concrete deliverable: concatenatable prompt segments containing 【记忆】 and 【黑话】 blocks. However, it does not distinguish this from the sibling memory_context_compose, and it never states what source material it renders (a session's memory, discovered slang, or both), leaving the agent to guess between two similarly named context tools.

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 only hint is '平台桥接拿去即用' (ready for platform bridging), which gestures at a consumer but gives no rule for when to call this versus memory_context_compose, head, or tail. There are no exclusions, no prerequisites, and no guidance on choosing sessionId.

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