Skip to main content
Glama

core_set

Idempotent

Set or update a priority-ranked memory entry. Stores critical context that persists across conversations, sorted by importance.

Instructions

Upsert a core-memory entry. ALWAYS shown in brief, sorted by priority DESC.

Use sparingly — this is the 'what new-claude must know' surface, not a note store. Good: 'project_root=/Users/.../ai-memory'. Bad: 'today we tried X'. priority 0-100 (higher = shown first). content capped 1KB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
contentYes
priorityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses sorting by priority DESC, content cap 1KB, and priority range beyond annotations. Annotations already indicate idempotency and non-destructiveness, so description adds value without contradiction.

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?

Four sentences, each essential: purpose, usage guidance with sorting, examples, parameter details. Front-loaded with most critical info. 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?

Covers purpose, usage, parameters, and behavioral traits. Output schema exists, so return value explanation is not needed. Could mention idempotency explicitly, but annotations cover it. Nearly complete.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining key (implied identifier), content (1KB cap), and priority (0-100, default 50, higher shown first). Adds significant meaning beyond raw schema.

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?

Clearly states 'Upsert a core-memory entry' with a specific verb and resource. Distinguishes from siblings like core_get, core_list, core_remove by mentioning the ALWAYS shown sorting behavior. Provides examples of good vs bad usage, reinforcing purpose.

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?

Explicitly advises to 'use sparingly' and defines the tool as the 'what new-claude must know' surface, not a note store. Gives concrete good/bad examples. Does not explicitly name alternative tools for note storage, but strongly implies usage constraint.

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/po4erk91/thread-keeper'

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