Skip to main content
Glama
n1snt
by n1snt

Get Redux State Diff

redux_get_state_diff

Get field-level changes between current Redux state and a previous snapshot or custom baseline. Optionally store current state as the next baseline.

Instructions

Return field-level changes between current state and the previous snapshot (or a provided baseline).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
previousStateNoOptional baseline state to diff against. If omitted, the tool uses its last remembered snapshot.
rememberCurrentAsPreviousNoWhether to store the current state as the next baseline snapshot. Defaults to true.
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses the side effect of rememberCurrentAsPrevious (storing the snapshot), and clearly states the tool provides diffs. However, it does not explicitly state whether the tool is read-only overall or if authentication is required, though the getter-like name implies safety.

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?

A single, well-structured sentence that front-loads the core purpose. Every word adds value 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?

Given the tool's simplicity (2 params, no output schema, no nested objects), the description sufficiently explains the operation. It could mention the return format (e.g., a diff object) but is otherwise complete for its scope.

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 coverage is 100% and schema descriptions already explain both parameters clearly. The tool description adds context about 'field-level changes' and 'previous snapshot' but does not significantly enhance meaning beyond the schema's own 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 returns field-level changes between current state and a previous snapshot or provided baseline. It uses a specific verb ('Return') and resource ('field-level changes'), and distinguishes itself from siblings like redux_get_state (which returns the whole state) by focusing on diffs.

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 through the parameter explanation ('if omitted, uses last remembered snapshot'), but lacks explicit guidance on when to use this tool versus alternatives like redux_get_state or redux_get_actions. No mention of prerequisites or when not to use.

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/n1snt/redux-mcp'

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