Skip to main content
Glama
askadvaith

MCP State Sidecar Server

by askadvaith

session_save

Save the full workflow context for a given session ID to persist workflow state across distributed agent deployments.

Instructions

Persist the full workflow context for a session_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextYes
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
session_idYes
Behavior2/5

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

With no annotations provided, the description must disclose behavior. It only says 'persist' without detailing whether it overwrites, merges, requires specific permissions, or any side effects. No mention of return values or errors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it lacks necessary detail for a persist operation. It could be expanded without losing conciseness.

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 the complexity (persisting full context) and presence of siblings like state_set and session_restore, the description is incomplete. It does not explain what 'full workflow context' means or how this differs from other state tools. Output schema exists but is not referenced.

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 has 0% description coverage, so description must compensate. It explains session_id (identifier) but context is vague ('full workflow context' without structure). No details on expected format or constraints.

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?

Description uses specific verb 'persist' and identifies resource as 'full workflow context for a session_id'. It clearly states the action and object, but does not differentiate from sibling tools like session_restore or state_set.

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 on when to use this tool versus alternatives such as state_set or session_restore. The description lacks context for when persistence is appropriate or what prerequisites exist.

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/askadvaith/MCP-State-Sidecar'

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