Skip to main content
Glama

get_history

Retrieve recent conversation histories to restore context and manage tasks in TRAE IDE. Specify a limit to control how many records are returned, defaulting to 5.

Instructions

读取最近的对话记录

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo读取条数,默认为5

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. The verb '读取' conveys a read-only operation and '最近的' implies recency ordering, but the description does not disclose what records are included (messages, turns, tool calls), the response structure, or whether the call could have side effects.

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 a single, front-loaded sentence with no filler words. It is appropriately concise for a simple read tool, though it is not exemplary because it omits useful contextual detail.

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

Completeness3/5

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

For a simple read-only tool with one optional parameter, the description covers the core purpose. However, it does not disambiguate from overlapping siblings like context and recall, and with no output schema, the exact content or format of the returned history is left undefined.

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 input schema fully documents the single limit parameter with a description and default value (5), achieving 100% schema description coverage. The tool description adds no additional meaning about the parameter, so the baseline of 3 applies.

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

Purpose4/5

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

The description '读取最近的对话记录' clearly states the tool's function: read recent conversation history. It uses a specific verb (读取) and resource (最近的对话记录), but it does not explicitly differentiate from siblings like recall or context, so it stops short of a 5.

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 guidance on when to use this tool versus alternatives such as context or recall. No exclusions, preconditions, or alternative tool mentions are provided, leaving the agent to infer usage entirely.

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

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/fangxh2013/trae-memory'

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