Skip to main content
Glama

context_list

Retrieve saved context keys with expiration and creation times. Paginate through results with a cursor. Expired entries are skipped and purged automatically. Use context_get to fetch values for specific keys.

Instructions

List your saved context keys with save/expiry times (values omitted — use context_get). Paginated: returns {contexts, next_cursor} — pass the returned next_cursor as cursor to fetch the next page. Expired entries are skipped and purged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
app_idYes
cursorNo
Behavior1/5

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

The description discloses that expired entries are skipped and purged, which is a destructive side effect. However, the annotations declare destructiveHint=false, creating a direct contradiction. The purge behavior is exactly the kind of behavioral detail that should either match the annotation or update it.

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?

The description is compact and front-loaded: it states the purpose first, then gives the key omission, pagination contract, and expiry behavior in exactly the order an agent needs. Every sentence earns its place with no fluff.

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?

The description provides the return shape ({contexts, next_cursor}) and pagination semantics despite no output schema, which is strong. However, it leaves the required app_id parameter unexplained and does not describe what an individual context entry looks like, preventing a perfect score.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains cursor behavior through the pagination contract and implies limit usage, but it never explains the required app_id parameter or how it scopes the saved context keys. That is a significant gap for a required parameter.

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 clearly states the tool lists saved context keys with save/expiry times, explicitly notes values are omitted, and points to context_get for values. This distinguishes it cleanly from sibling context tools while naming the exact resource and operation.

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?

It gives explicit pagination instructions ('pass the returned next_cursor as cursor') and tells the agent when to use context_get instead. It doesn't explicitly state when not to use this tool versus other context-related siblings, but the core routing guidance is clear.

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/willow-memory/willow-mcp'

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