Skip to main content
Glama

save_context

Write facts to a shared blackboard for all agents. Update entries by reusing keys, and tag with task IDs for targeted briefings.

Instructions

Write a fact to the shared blackboard so every agent can find it.

Use stable, descriptive keys ('api-schema', 'auth-flow'); writing the same key again updates it. Tag entries with 'task-' to make them show up in that task's briefing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
keyYes
contentYes
tagsNo
agent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
project_idYes
keyYes
contentYes
tagsNo
authorNo
updated_atYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses upsert behavior and briefing integration but omits details on permissions, rate limits, or failure handling. The transparency is adequate but incomplete.

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 two sentences with no wasted words. It is efficiently front-loaded with purpose, followed by guidelines, making it easy to parse.

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 the 5 parameters and no annotations, the description leaves gaps: it does not explain 'project_id' or 'agent_id', and lacks information on failure behavior. However, the output schema exists, so return values are covered. The core functionality is well-explained.

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 0%, requiring the description to compensate. It adds meaning to 'key' (stable, updates), 'content' (implied), and 'tags' (task-<id> pattern) but does not cover 'project_id' or 'agent_id'. Overall, it partly compensates for the missing schema descriptions.

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 writes a fact to a shared blackboard, specifying the verb 'write' and the resource 'shared blackboard'. It distinguishes from sibling tools like search_context (for reading) by focusing on writing/updating facts with stable keys.

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?

The description provides explicit guidelines: use stable descriptive keys, update by reusing keys, and tag with 'task-<id>' for briefing visibility. It lacks direct comparison to other write-oriented siblings but offers clear context for when to use the tool.

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/H2SO4620/forgeswarm'

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