Skip to main content
Glama

state_add_persistence

Add persistent state storage with configurable adapters, migration, and rehydration for popular state management libraries.

Instructions

Add state persistence with storage adapters, migration, and rehydration (Pro)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
libraryYesState management library
storageYesStorage backend
whitelistNoState keys to persist
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals what features are included (storage adapters, migration, rehydration) but does not disclose whether this modifies existing store files, requires authentication (despite the api_key parameter), or depends on an existing setup. For a tool that evidently mutates state configuration, this is a significant gap.

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?

A single nine-word sentence that front-loads the action and lists the key feature areas without waste. Every word earns its place, though the trailing "(Pro)" tag is unexplained and slightly muddies the otherwise clean structure. It is appropriately sized for the amount of content it conveys.

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

Completeness2/5

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

Given four parameters, two required, and no output schema or annotations, the description is too thin. It does not explain why api_key is needed, whether migration and rehydration are automatic, what happens to existing persistence config, or what the agent should expect as a result. As a mutation-oriented tool, it needs more context to be safely invoked.

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 each of the four parameters (api_key, library, storage, whitelist) is already documented in the schema. The description's phrase "storage adapters" loosely maps to the storage parameter, but it adds no syntax, defaults, or relationship information beyond what the schema provides. The baseline 3 is appropriate given the full schema coverage.

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 states a specific verb ("Add") and resource ("state persistence"), and names three concrete capabilities: storage adapters, migration, and rehydration. It effectively distinguishes this from the sibling state_setup_store, since persistence is a distinct follow-on concern. The only minor flaw is the unexplained "(Pro)" suffix, which adds stylistic noise rather than semantic clarity.

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?

No guidance is given about when to use this tool versus alternatives. It does not state that a state store should already exist via state_setup_store, does not mention prerequisites, and names no alternative or exclusion condition. The agent must infer from the name that this is a follow-on step, which is risky given siblings like cart_add_persistence follow the same pattern.

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/barnburner121/claude-plugin-marketplace'

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