Skip to main content
Glama
S2thend

cursor-history-mcp

cursor_history_list

Retrieve recent Cursor AI chat sessions with metadata like workspace, message count, and timestamps. Use filters to limit or paginate results.

Instructions

List Cursor AI chat sessions. Returns recent sessions with metadata including workspace, message count, and timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of sessions to return (default: 20, max: 1000)
offsetNoNumber of sessions to skip for pagination (default: 0)
workspaceNoFilter sessions by workspace path (absolute path to project folder)
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions returning recent sessions with metadata but does not specify sorting order, pagination behavior, or any constraints like rate limits. Adequate but not thorough.

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?

Two concise sentences, front-loaded with action and return info. No unnecessary words.

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?

Given 3 parameters, all documented, and no output schema, description could be more complete by explicitly stating pagination via limit/offset and default sorting. Currently leaves some implicit.

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?

Schema description coverage is 100%, so baseline is 3. Description does not add extra parameter semantics beyond what schema provides; it only hints at workspace in output metadata.

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?

Description clearly states it lists Cursor AI chat sessions with specific metadata. Verb 'list' and resource are explicit. Distinguishes from siblings like cursor_history_search which is for searching.

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?

Implicitly clear: use for listing recent sessions, not for searching or exporting. However, no explicit 'when to use' vs alternatives, nor exclusions.

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/S2thend/cursor-history-mcp'

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