nanostores_store_activity

Use this when debugging a specific store's runtime behavior — why it updates too often, what actions trigger changes, or whether it emits errors. Returns recent events, change frequency, action calls, and errors. Omit storeName to get activity across all stores. Example: {storeName: "$cart", kind...

Server Nanostores MCP nanostores-mcp
Category Read
Risk class Low
Parameters 60 required

What nanostores_store_activity does on Nanostores MCP

AI agents call nanostores_store_activity to retrieve information from Nanostores MCP without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
kinds array Filter events by kind(s)
limit number Max events to return
windowMs number Time window in milliseconds (from now back)
storeName string Store name to query (optional)
actionName string Filter events by action name
projectRoot string Project root path to link runtime data with static analysis

Parameters from the server's own tool schema.

Why nanostores_store_activity needs a policy

This tool retrieves and returns runtime monitoring data (events, change frequency, errors) about Nanostores stores. It is purely observational/diagnostic with no side effects on data or system state.

From the tool's definition Returns recent events, change frequency, action calls, and errors... debugging a specific store's runtime behavior

Questions about nanostores_store_activity

What does the nanostores_store_activity tool do? +

Use this when debugging a specific store's runtime behavior — why it updates too often, what actions trigger changes, or whether it emits errors. Returns recent events, change frequency, action calls, and errors. Omit storeName to get activity across all stores. Example: {storeName: "$cart", kinds: ["change", "action-error"]} or {limit: 20, windowMs: 60000}. It is categorised as a Read tool in the Nanostores MCP MCP Server, which means it retrieves data without modifying state.

What parameters does nanostores_store_activity accept? +

nanostores_store_activity accepts 6 parameters: kinds, limit, windowMs, storeName, actionName, projectRoot. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on nanostores_store_activity? +

Register the Nanostores MCP server in PolicyLayer and add a rule for nanostores_store_activity: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Nanostores MCP. Nothing to install.

What risk level is nanostores_store_activity? +

nanostores_store_activity is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit nanostores_store_activity? +

Yes. Add a rate_limit block to the nanostores_store_activity rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block nanostores_store_activity completely? +

Set action: deny in the PolicyLayer policy for nanostores_store_activity. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides nanostores_store_activity? +

nanostores_store_activity is provided by the Nanostores MCP server (nanostores-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.