Skip to main content
Glama
jonjoe

state-bridge-mcp

by jonjoe

call_action

Invoke a named store action (e.g., clearHistory) to modify application state.

Instructions

Invoke a store action function by name (e.g. "clearHistory", "setActiveTab")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoArguments to pass to the action
storeYesStore name
actionYesAction function name
Behavior2/5

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

The description only mentions 'invoke', which implies execution but does not disclose side effects, return values, or potential destructive behavior. With no annotations, the agent has no clues about read-only or mutation nature, leaving significant behavioral uncertainty.

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?

The single-sentence description is concise and front-loaded with the key purpose. It is efficient but could expand slightly without becoming verbose, e.g., by noting return behavior.

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?

For a simple tool with three string parameters and no nested objects or output schema, the description covers the basic function. However, it omits important context like error handling, return value (e.g., result or void), and when to choose this over sibling tools.

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 descriptions cover all 3 parameters (store, action, args) with basic labels. The description adds example action names, providing slight extra context. However, the overall parameter semantics are minimal and rely heavily on the 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?

The description clearly states the tool invokes a store action function by name, with specific examples like 'clearHistory' and 'setActiveTab'. This distinguishes it from sibling tools like get_state (read-only) and set_state (direct value mutation).

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. For instance, it does not clarify when to use call_action over set_state for state changes, or if certain actions are reserved. Absence of usage context forces the agent to guess.

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