Skip to main content
Glama
jonjoe

state-bridge-mcp

by jonjoe

get_state

Read the current state from a Zustand store. Use a dot-path to retrieve a specific slice or nested value.

Instructions

Read state from a Zustand store. Optionally provide a dot-path to read a specific slice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoDot-path to a specific value (e.g. "activeSessionId")
storeYesStore name (e.g. "app", "session")
Behavior2/5

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

With no annotations, the description carries full behavioral burden. It only states reading state, but does not disclose error handling (e.g., store not found), return format, or side effects. It is minimally transparent.

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 extremely concise (one sentence) and front-loaded with the core action. Every word is functional with no redundancy.

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?

For a simple read tool with two parameters and no output schema, the description is complete enough. It could mention the return value format (e.g., full state object if no path), but this is minor given the tool's simplicity.

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

Parameters4/5

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

The description adds context beyond the schema by explaining that 'path' allows reading a specific slice and that it is optional. Schema coverage is 100%, but the description reinforces and clarifies parameter usage.

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 it reads state from a Zustand store, with optional dot-path for specific slices. It distinguishes from siblings like 'set_state' (write) and 'list_stores' (list stores), making its purpose precise.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for reading state, but provides no explicit guidance on when to use this tool versus alternatives (e.g., 'list_stores' for store names). No when-not-to-use or prerequisite information.

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/jonjoe/mcp-state-bridge'

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