Nanostores MCP
Provides static analysis for Angular projects using Nanostores, including DI support for @nanostores/angular NanostoresService constructor injections and detection of this.nanostores.useStore(...) call patterns in TypeScript component files.
Integrates with Windsurf (Codeium's IDE) to provide Nanostores analysis tools through the MCP interface, accessible via the Cascade panel.
Makes Nanostores analysis tools available in VS Code through GitHub Copilot's Agent mode, enabling AI-assisted store architecture analysis and debugging.
Supports static analysis for Lit projects using Nanostores as part of the framework-agnostic approach to store inspection and subscriber detection.
Generates dependency graph visualizations (Mermaid diagrams) showing how Nanostores depend on each other as part of the static analysis capabilities.
Provides comprehensive analysis, debugging, and monitoring capabilities for Nanostores projects including AST-based scanning, runtime monitoring with @nanostores/logger integration, and documentation search.
Required runtime environment for the MCP server with specific version requirements (Node.js ^20.0.0 || >=22.0.0) to execute Nanostores analysis tools.
Package manager used for installing the nanostores-mcp server and its dependencies, including required peer dependencies like nanostores itself.
Alternative package manager option for installing the nanostores-mcp server alongside npm.
Supports static analysis for Preact projects using Nanostores as part of the framework-agnostic approach to store inspection and subscriber detection.
Provides framework-aware subscriber detection for React projects using Nanostores, recognizing component bindings and store usage patterns.
Supports static analysis for SolidJS projects using Nanostores as part of the framework-agnostic approach to store inspection and subscriber detection.
Provides specialized static analysis for Svelte projects using Nanostores, including parsing of script blocks, auto-subscription detection ($storeName in templates), and filtering of Svelte 5 runes to avoid false positives.
Nano Stores MCP
Model Context Protocol server for Nanostores — analyze, debug and monitor your nanostores in AI assistants like Claude Desktop.
📊 Static Analysis: AST-based project scanning, dependency graphs, store inspection
🔥 Runtime Monitoring: Live events from
@nanostores/logger, performance metrics, activity tracking📚 Documentation: Search and browse Nanostores docs by topic or store kind
🎯 Zero Config: Works out of the box — auto-detects project roots and nanostores docs
🌐 Framework-Agnostic: Works with React, Vue, Svelte, Angular, Solid, Preact, Lit — any framework that uses Nanostores
npx nanostores-mcpAsk your AI: "Analyze my store architecture" or "Which stores update most frequently?"
Made at Evil Martians, product consulting for developer tools.
Table of Contents
Related MCP server: forgekit-storybook-mcp
Features
📊 Static Analysis (AST-based)
Understand your nanostores architecture without running your app:
Project scanning — find all stores, subscribers, and import/export relationships
Dependency graph — visualize how stores depend on each other (Mermaid diagrams)
Store inspection — type (atom/map/computed/batched/persistentAtom/persistentMap/router), location, usage patterns, related files
Framework-aware subscriber detection — recognizes
.subscribe()/.listen()calls and component bindings across React, Vue, Svelte, and AngularVue SFC support — parses both
<script>and<script setup>blocks in.vuefiles (requires@vue/compiler-sfc)Svelte support — parses
<script context="module">and instance<script>blocks, auto-subscriptions ($storeNamein templates), and filters out Svelte 5 runes ($state,$derived,$effect, etc.) so they are not mistaken for store references (requiressvelte)Angular DI support — resolves
@nanostores/angularNanostoresServiceconstructor injections and detectsthis.nanostores.useStore(...)call patterns in TypeScript component files
🔥 Runtime Monitoring (Logger Integration)
Real-time insights into your running application:
Live event capture — mount/unmount, value changes, action calls from
@nanostores/loggerPerformance analysis — find noisy stores, high error rates, performance bottlenecks
Activity metrics — change frequency, action success/failure rates, action duration
Combined analysis — merge static structure with runtime behavior for deep debugging
📚 Documentation Search
Search and browse Nanostores documentation directly from your AI assistant:
Full-text search — find guides, API references, and best practices by query
Store-kind lookup — get docs relevant to a specific store type (atom, map, computed, etc.)
Auto-detection — picks up docs from
nanostoresin yournode_modulesautomatically
Requirements
Requirement | Version |
Node.js |
|
Required peer dependency (for static analysis):
npm install nanostoresOptional peer dependencies — install only if you use the corresponding file format:
Package | When needed |
| Vue SFC ( |
| Svelte ( |
| Runtime monitoring ( |
Without these optional packages the server still works — it silently skips unsupported file types.
Installation
npm install -g nanostores-mcp
# or
pnpm add -g nanostores-mcpOr run directly without installation:
npx nanostores-mcpConfiguration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"nanostores": {
"command": "npx",
"args": ["-y", "nanostores-mcp"],
"env": {
"NANOSTORES_MCP_ROOT": "/path/to/your/project"
}
}
}
}VS Code
Requires GitHub Copilot extension (VS Code 1.99+). Create .vscode/mcp.json in your project:
{
"servers": {
"nanostores": {
"type": "stdio",
"command": "npx",
"args": ["-y", "nanostores-mcp"]
}
}
}Tools are available in Copilot's Agent mode (select "Agent" in the Copilot Chat dropdown).
Cursor
Create .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global):
{
"mcpServers": {
"nanostores": {
"command": "npx",
"args": ["-y", "nanostores-mcp"]
}
}
}Zed
Add to your Zed settings.json:
{
"context_servers": {
"nanostores": {
"command": "npx",
"args": ["-y", "nanostores-mcp"],
"env": {
"NANOSTORES_MCP_ROOT": "/path/to/your/project"
}
}
}
}The server appears in Zed's Agent Panel settings.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"nanostores": {
"command": "npx",
"args": ["-y", "nanostores-mcp"],
"env": {
"NANOSTORES_MCP_ROOT": "/path/to/your/project"
}
}
}
}You can also open this file from the MCP icon in the Cascade panel → "Configure".
Claude Code
Add via CLI:
claude mcp add --transport stdio nanostores -- npx -y nanostores-mcpOr create .mcp.json in your project root (shared with the team):
{
"mcpServers": {
"nanostores": {
"command": "npx",
"args": ["-y", "nanostores-mcp"],
"env": {
"NANOSTORES_MCP_ROOT": "/path/to/your/project"
}
}
}
}Environment Variables
Variable | Default | Description |
| cwd | Project root path |
| — | Platform-delimited roots ( |
| — | Alias for |
| — | Alias for |
|
| Set to |
|
| HTTP port for logger bridge |
|
| Host to bind. Allowed values: |
| auto-detect | Path to documentation directory |
|
| Comma-separated glob patterns for docs |
How the Project Root Is Resolved
The server picks workspace roots in priority order:
Environment variables (highest priority) —
NANOSTORES_MCP_ROOTS/NANOSTORES_MCP_ROOT/WORKSPACE_FOLDER_PATHS/WORKSPACE_FOLDERClient roots — roots reported by the MCP client via the
roots/listcapability (set automatically by some editors)Current working directory —
process.cwd()used as fallback when neither env nor client roots are configured
When a tool is called without an explicit projectRoot argument the server uses the first configured root. In a multi-root setup always pass projectRoot to avoid ambiguity.
Quick Start
1. Static Analysis
Works out of the box — just point at your project and ask:
"Analyze my store architecture"
"Explain how nanostores is used in this project"
"Give me a summary of the $cart store"
"My stores changed — re-scan the project" ← the AI will force a fresh scan
2. Documentation Search
Auto-detected from nanostores in your node_modules:
"How do I use computed stores?"
"Show me the docs for persistentAtom"
3. Runtime Monitoring (Optional)
Requires logger integration in your app. See Runtime Monitoring below.
"Which stores update most frequently?"
"Show me recent activity for $user"
"Give me an overall health report"
Verify Your Setup
Run these four tools in order to confirm everything is working:
nanostores_ping → should return server status and logger bridge state
nanostores_scan_project → should list your stores and subscribers
nanostores_docs_search → should return documentation results (requires nanostores in node_modules)
nanostores_runtime_overview → should return overview (or "no runtime data" if logger is disabled — that's fine)If nanostores_scan_project returns zero stores, check that NANOSTORES_MCP_ROOT points to the correct project directory.
MCP Interface
MCP Resources
Resource | Description |
| Full dependency graph (text + Mermaid) |
| Store details by name or id |
| Documentation index — all pages and tags |
| Full content of a documentation page |
MCP Tools
Static Analysis
Tool | Description |
| Scan project for all stores, subscribers, and dependencies |
| Detailed summary of a specific store |
| High-level overview: store kinds, top directories, hub stores |
| BFS-expanded dependency neighborhood of a store |
| Downstream causal chain — what recomputes/re-renders if X changes |
Runtime Monitoring
Tool | Description |
| Overall health report with statistics for all stores |
| Activity timeline for a specific store (filterable by kind/action) |
| Identify stores with high change frequency or error rates |
| Compare static graph with runtime events to find coverage gaps |
Documentation
Tool | Description |
| Search docs by |
Use nanostores://docs/page/{id} resource to read the full content of pages returned by search.
Utilities
Tool | Description |
| Server health check and logger bridge status |
| Clear project index cache to force rescan |
MCP Prompts
Prompt | Parameters | Description |
|
| AI-guided explanation of your project's store architecture. |
|
| Deep dive into a specific store's implementation and usage |
|
| Comprehensive analysis combining static + runtime data |
| — | Project-wide performance analysis and optimization |
|
| Step-by-step guidance for a Nanostores task, backed by docs (e.g. |
Advanced Tool Arguments
Most tools accept these optional arguments that significantly change their behavior:
Argument | Type | Used in | Description |
|
|
| Exact store identifier — format: |
|
|
| Store name (e.g. |
|
|
| BFS hops around the store. |
|
| most tools | Which project root to analyze in multi-root setups. Omit to use the first configured root. Always specify this in multi-root projects. |
|
|
| Look-back window in milliseconds (e.g. |
|
|
| Filter events by type. Values: |
|
|
| Filter events to a specific action (e.g. |
|
|
| Return a compressed token-efficient table instead of full text. Useful for large projects to reduce context usage. |
Runtime Monitoring
For runtime analysis, integrate the MCP Logger client into your application.
1. Install in your app and enable the logger bridge:
npm install nanostores-mcpThe logger bridge starts automatically — no extra config needed. To disable it, set NANOSTORES_MCP_LOGGER_ENABLED=false in your MCP server config.
2. Define stores with logger attached (src/stores.ts):
import { atom, map, computed } from "nanostores";
import { initMcpLogger, attachMcpLogger } from "nanostores-mcp/mcpLogger";
// Automatically disabled in production (checks NODE_ENV / import.meta.env.DEV)
initMcpLogger();
// Stores
export const $count = atom(0);
export const $user = map({ name: "", role: "guest" });
export const $greeting = computed($user, user => `Hello, ${user.name}`);
// Attach logger — each call returns a cleanup function
attachMcpLogger($count, "$count");
attachMcpLogger($user, "$user");
attachMcpLogger($greeting, "$greeting");3. Use stores normally — events (mount, unmount, change, actions) are captured automatically and batched to the MCP server every second.
4. Ask your AI assistant:
"Which stores change most frequently?" →
nanostores_find_noisy_stores"Show me recent activity for $user" →
nanostores_store_activity"Give me an overall health report" →
nanostores_runtime_overview
Logger Options
initMcpLogger({
url: "http://127.0.0.1:3999/nanostores-logger", // default; change if using a custom port
batchMs: 1000, // default; lower for faster delivery (e.g. 200)
projectRoot: "/absolute/path/to/project", // link runtime events with static analysis
// Mask sensitive data — return null to skip event entirely
maskEvent: event => {
if (event.storeName === "authToken") return null;
return event;
},
});Flush Before Shutdown
import { getMcpLogger } from "nanostores-mcp/mcpLogger";
window.addEventListener("beforeunload", async () => {
await getMcpLogger()?.forceFlush();
});Reading Results
nanostores_runtime_overview health summary
The overview groups stores into three categories:
Top active stores — sorted by total event count (changes + actions). A store that appears here with hundreds of changes in seconds may be a performance concern.
Error-prone stores — stores with
action-errorevents. High error counts indicate failing async actions.Unmounted stores — stores seen at mount but never unmounted. May indicate memory leaks.
nanostores_runtime_coverage
Compares your static store graph against observed runtime events:
Term | Meaning |
static-only | Store found by AST scan but no runtime events observed. Possible dead code, deferred initialization, or missing |
runtime-only | Events received for a store not found by the scanner. Common for dynamically-created stores, factory patterns, or stores in |
Coverage by kind | E.g. |
nanostores_find_noisy_stores
Returns stores ranked by total activity (changes + actions combined) within the windowMs period. A store is considered "noisy" when its change frequency is disproportionately high relative to visible UI updates — use this to find re-render hotspots or thrashing computed chains.
Privacy & Security
The runtime logger is designed to stay on your local machine:
Loopback-only binding — the HTTP bridge accepts connections exclusively from
127.0.0.1,localhost, or::1. Binding to0.0.0.0is explicitly blocked. Data never leaves your machine.What is transmitted — from your app to the MCP server over localhost: store name, timestamp, event kind, and optionally value snapshots (truncated to 200 characters). Nothing is sent to Anthropic or any third party.
Nothing is persisted — events are held in a ring buffer (5 000 events max) in process memory and discarded when the server restarts.
Mask sensitive data — use
maskEventto filter or redact events client-side before they are batched and sent:
initMcpLogger({
maskEvent: event => {
if (event.storeName === "$authToken") return null; // drop entirely
if (event.storeName === "$paymentInfo") return { ...event, newValue: undefined }; // strip value
return event;
},
});CORS — the bridge rejects cross-origin requests from non-loopback origins.
Example Queries
Ask your AI assistant natural language questions:
Static Analysis:
"Analyze my store architecture for potential issues"
"What happens when $user changes? Show subscribers and derived stores"
Runtime Debugging:
"Which stores update most frequently?"
"Are there stores declared in code but never used at runtime?"
"Debug the $user store — combine static analysis with runtime behavior"
With Playwright MCP:
"Open my app in the browser, interact with it, and analyze which stores cause the most recalculations"
Documentation:
"How do I use computed stores?"
"Show me best practices for persistent stores"
Architecture
┌──────────────────────┐
│ Your Application │
│ │
│ @nanostores/logger │
│ events │
└──────────┬───────────┘
│ HTTP POST (localhost:3999)
▼
┌──────────────────────┐
│ nanostores-mcp │
│ │
│ ┌──────────────┐ │
│ │ Logger Bridge │ │ ← HTTP server for runtime events
│ └──────┬───────┘ │
│ ▼ │
│ ┌──────────────┐ │
│ │ Event Store │ │ ← Ring buffer (5000 events) + stats
│ └──────┬───────┘ │
│ │ │
│ ┌──────┴───────┐ │
│ │ AST Scanner │ │ ← ts-morph static analysis
│ └──────┬───────┘ │
│ │ │
│ ┌──────┴───────┐ │
│ │ Docs Index │ │ ← Auto-detected from node_modules
│ └──────┬───────┘ │
│ │ │
│ ┌──────┴───────┐ │
│ │ MCP Interface│ │ ← Resources, Tools, Prompts
│ └──────────────┘ │
└──────────┬───────────┘
│ MCP Protocol (stdio)
▼
┌──────────────────────┐
│ LLM Client │
│ (Claude, VS Code, …) │
└──────────────────────┘Limitations & Caveats
Multi-root: same store name in multiple projects
In multi-root mode a store named $user can exist in two different projects. The runtime event store uses a composite key (projectRoot + storeName) to keep them separate, but summary views may show the same name twice with no project label. Always specify projectRoot when querying tools in a multi-root setup to get unambiguous results.
Static analysis only covers discovered files
The AST scanner follows TypeScript/JavaScript imports from your project root. Stores created dynamically at runtime, generated by factories, or living in node_modules will not appear in static results — they may show up as "runtime-only" in coverage reports.
Vue and Svelte parsing requires optional dependencies
If @vue/compiler-sfc or svelte are not installed, .vue / .svelte files are silently skipped during scanning. Install them as dev dependencies if you want full coverage for those file types.
Event ring buffer is capped at 5 000 events
Older events are dropped when the buffer is full. For high-frequency stores use windowMs to narrow your queries to recent data, or lower batchMs in initMcpLogger to deliver events more frequently and reduce the chance of buffer overflow during bursts.
radius on hub stores can be very large
Stores with many dependencies (hub score > 5) can return most of the project graph at radius=2. Start with radius=1 and increase only if you need broader context.
Development
git clone https://github.com/Valyay/nanostores-mcp.git
cd nanostores-mcp
pnpm install
pnpm dev # Run dev server
pnpm build # TypeScript compile
pnpm test # Run vitest
pnpm lint # ESLint
pnpm check # All checks: lint + format + test + build
# Test with MCP Inspector
npx @modelcontextprotocol/inspector pnpm run devTroubleshooting
Logger not receiving events:
Use the
pingtool to verify logger bridge is enabled and runningCheck browser console for
[nanostores-mcp]warnings about connection issuesConfirm the port matches between server (
NANOSTORES_MCP_LOGGER_PORT) and client URLTest with a simple atom store to verify events flow
Port conflicts:
# Change server port
NANOSTORES_MCP_LOGGER_PORT=4000 npx nanostores-mcp
# Update client
initMcpLogger({ url: "http://127.0.0.1:4000/nanostores-logger" });TypeScript errors:
// Import from the mcpLogger subpath export
import { initMcpLogger, attachMcpLogger } from "nanostores-mcp/mcpLogger";Documentation not found:
The server auto-detects docs from
nanostoresin yournode_modulesMake sure
nanostoresis installed:npm install nanostoresOr set
NANOSTORES_DOCS_ROOTto point at a docs directory manually
Related Projects
Nanostores ecosystem:
nanostores — Tiny state manager (atom, map, computed, batched, deepMap)
@nanostores/logger — Logger and action system
@nanostores/persistent — Persistent stores (localStorage, sessionStorage)
@nanostores/router — SPA router
@nanostores/i18n — Internationalization
@nanostores/react, @nanostores/vue, @nanostores/preact, @nanostores/solid, @nanostores/lit — Framework bindings
MCP:
Model Context Protocol — MCP specification
Playwright MCP — Browser automation (works with nanostores-mcp for runtime analysis)
License
MIT
Contributing
Contributions are welcome! Please open an issue or PR.
Available Tools
12 toolsnanostores_clear_cacheClear project analysis cacheAIdempotent
Use this when scan results seem stale or after making file changes that the server may not have detected. Clears the cached project index so the next nanostores_scan_project call performs a fresh scan.
| Name | Required | Description | Default |
|---|---|---|---|
| rootUri | No | Workspace root to clear cache for. Omit to clear all roots. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=false. The description adds valuable context about the tool's purpose (clearing cached index to enable fresh scans) and when to use it, which complements the annotations. However, it doesn't mention potential side effects like temporary performance impact during re-scanning.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with zero waste. The first sentence provides usage context, the second explains the action and consequence. Every word serves a purpose, and the information is front-loaded with the primary use case.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool with comprehensive annotations and no output schema, the description provides excellent context about when and why to use it. It could slightly improve by mentioning what 'clears the cached project index' entails operationally, but overall it's highly complete for this tool's complexity level.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with the parameter well-documented. The description doesn't add any parameter-specific information beyond what's in the schema, which already explains the optional rootUri parameter and its behavior when omitted. This meets the baseline expectation for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('clears') and resource ('cached project index'), specifying it's for the project analysis cache. It distinguishes from siblings by explicitly mentioning nanostores_scan_project as the complementary operation that will perform a fresh scan after cache clearance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance: 'when scan results seem stale or after making file changes that the server may not have detected.' It also specifies the alternative action (nanostores_scan_project) that should follow, creating clear operational sequencing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_docs_searchSearch Nanostores documentationARead-onlyIdempotent
Find Nanostores documentation by topic or store kind. Use query for free-text search across guides, API references, and best practices. Use storeKind to get docs relevant to a specific store type (atom, map, computed, etc.). Combine both to search within store-relevant pages. To read full page content, use the nanostores://docs/page/{id} resource. Example: {query: "persistent storage"} or {storeKind: "computed"} or {query: "batched", storeKind: "computed"}.
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query for documentation. Required unless storeKind is provided. | |
| storeKind | No | Find docs relevant to this store type. Can be used alone or with query. | |
| limit | No | Maximum number of results | |
| tags | No | Filter by tags (e.g., ['react', 'persistent']) |
Output Schema
| Name | Required | Description |
|---|---|---|
| query | No | |
| storeKind | No | |
| results | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true and idempotentHint=true, so the agent knows this is a safe, repeatable read operation. The description adds valuable context about what gets searched (guides, API references, best practices) and the relationship to other resources (nanostores://docs/page/{id}), which goes beyond what annotations provide. It doesn't mention rate limits or authentication needs, but with good annotation coverage, this is sufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with zero waste: it starts with the core purpose, explains parameter usage with clear examples, and provides an alternative for related functionality. Every sentence earns its place by adding practical guidance. The example format is particularly helpful without being verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity, rich annotations (readOnlyHint, idempotentHint), 100% schema coverage, and the presence of an output schema, the description is complete enough. It covers the purpose, usage guidelines, parameter interactions, and relationship to other resources without needing to explain return values (handled by output schema) or repeat what annotations already declare.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the input schema already documents all four parameters thoroughly. The description adds some semantic context about how parameters interact (query required unless storeKind provided, combining both for targeted search) and provides concrete examples, but doesn't add significant meaning beyond what's in the schema descriptions. The baseline of 3 is appropriate when schema does most of the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('Find', 'Search') and resources ('Nanostores documentation', 'guides, API references, and best practices'). It distinguishes this search tool from siblings like nanostores_clear_cache or nanostores_store_summary by focusing on documentation retrieval rather than runtime operations or analysis.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool versus alternatives: it specifies to use nanostores://docs/page/{id} for reading full page content after finding relevant pages. It also explains how to combine parameters effectively with clear examples, making it easy to understand appropriate usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_find_noisy_storesFind noisy storesARead-onlyIdempotent
Use this when investigating performance issues or excessive re-renders. Returns stores ranked by activity — frequent changes, many action calls — to pinpoint bottlenecks. Example: {limit: 10} or {windowMs: 30000, compact: true}.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of stores to return | |
| windowMs | No | Time window in milliseconds (from now back) | |
| compact | No | Return TOON-encoded compact table for lower token cost |
Output Schema
| Name | Required | Description |
|---|---|---|
| stores | Yes | |
| summary | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnlyHint=true and idempotentHint=true, so the agent knows this is a safe, repeatable read operation. The description adds valuable context beyond annotations by explaining that it returns stores 'ranked by activity' based on 'frequent changes, many action calls,' which clarifies the behavioral output and purpose, though it doesn't mention rate limits or authentication needs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose and usage guidelines in the first sentence, followed by a concise example. Every sentence earns its place by providing essential information without redundancy, making it highly efficient and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (diagnostic analysis), rich annotations (readOnlyHint, idempotentHint), and the presence of an output schema, the description is complete enough. It clearly explains the tool's role in performance investigation, distinguishes it from siblings, and provides usage examples, covering all necessary context without needing to detail return values (handled by output schema).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents the parameters (limit, windowMs, compact). The description provides example usage with {limit: 10} and {windowMs: 30000, compact: true}, which adds practical context but doesn't add semantic meaning beyond what the schema already specifies. This meets the baseline of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('find', 'returns', 'pinpoint') and resources ('stores ranked by activity'), explicitly mentioning 'frequent changes, many action calls' to distinguish it from sibling tools like nanostores_store_activity or nanostores_store_summary which might focus on different aspects of store behavior.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool: 'when investigating performance issues or excessive re-renders.' It also distinguishes it from alternatives by specifying it returns stores 'ranked by activity' to 'pinpoint bottlenecks,' helping differentiate from other sibling tools that might serve different diagnostic purposes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_pingPing Nanostores MCP serverARead-onlyIdempotent
Use this when you need to verify the MCP server is alive or check whether the runtime logger bridge is connected.
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | pong |
Output Schema
| Name | Required | Description |
|---|---|---|
| message | Yes | |
| loggerBridge | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate readOnlyHint=true, idempotentHint=true, and openWorldHint=false, covering safety and idempotency. The description adds value by specifying the diagnostic context (verifying aliveness and logger bridge connectivity), which isn't captured in annotations. It doesn't contradict annotations and provides useful behavioral context beyond them, though it could mention expected output or error conditions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the usage context. It's front-loaded with clear intent, has no redundant information, and every word earns its place. Perfectly concise for a simple diagnostic tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (simple ping with one optional parameter), rich annotations (readOnly, idempotent, closed-world), and the presence of an output schema (which handles return values), the description is complete enough. It clearly states the diagnostic purpose without needing to explain parameters or behavioral details already covered elsewhere.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is 1 parameter with 0% schema description coverage (no description in schema). The tool description doesn't mention parameters at all, but since there are 0 required parameters and a default is provided in the schema, the baseline is high. The description compensates by clearly stating the tool's purpose, making parameter details less critical for this simple ping tool.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as verifying server aliveness and checking logger bridge connectivity, which is specific (verb+resource). However, it doesn't distinguish this from potential sibling tools that might also test connectivity or provide health checks, though none are explicitly listed among siblings. The purpose is unambiguous but lacks sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool: 'when you need to verify the MCP server is alive or check whether the runtime logger bridge is connected.' This provides clear context for usage without alternatives needed, as it's a diagnostic tool with a specific, narrow purpose. No misleading or vague guidance is present.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_project_outlineGet project outlineARead-onlyIdempotent
Use this for a quick overview of Nanostores usage in the project — store kind distribution, top directories, and hub stores ranked by connectivity. Returns a compact summary instead of full store/subscriber lists (same scan data, smaller response). Use nanostores_scan_project when you need the complete list of stores and relations.
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | No | Project root path (uses default if omitted) |
Output Schema
| Name | Required | Description |
|---|---|---|
| rootDir | Yes | |
| totals | Yes | |
| storeKinds | Yes | |
| topDirs | Yes | |
| hubs | Yes | |
| unreferencedStores | Yes | |
| coOccurringPairs | Yes | |
| topSemanticAnomalies | Yes | |
| topBlindSpots | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds valuable behavioral context beyond what annotations provide. While annotations indicate read-only, idempotent, and closed-world behavior, the description reveals that this tool returns 'a compact summary instead of full store/subscriber lists' and uses 'same scan data, smaller response.' This provides important implementation details about response size and data source that aren't captured in annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly concise and well-structured. Two sentences efficiently convey the tool's purpose, what it returns, when to use it, and when to use the alternative. Every word serves a clear purpose with no redundancy or unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity, comprehensive annotations (readOnlyHint, idempotentHint, openWorldHint), and the presence of an output schema, the description provides complete contextual information. It explains the tool's purpose, differentiates it from alternatives, and describes the response format, which is sufficient since the output schema will handle return value details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage and only one optional parameter, the schema already fully documents the 'projectRoot' parameter. The description doesn't add any additional parameter semantics beyond what's in the schema, so it meets the baseline expectation but doesn't provide extra value in this dimension.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: providing a 'quick overview of Nanostores usage in the project' with specific content elements (store kind distribution, top directories, hub stores ranked by connectivity). It explicitly distinguishes this from its sibling 'nanostores_scan_project' which provides complete lists, making the distinction unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool versus alternatives: 'Use this for a quick overview...' and 'Use nanostores_scan_project when you need the complete list of stores and relations.' This clearly defines the use case context and names the specific alternative tool for different needs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_runtime_coverageRuntime coverage reportARead-onlyIdempotent
Compare static analysis graph with runtime event data to find stores declared in the static graph but not observed in this runtime session, and stores seen at runtime but absent from the static graph (dynamic or unscanned). Use after running the app to verify instrumentation completeness. Example: {} or {projectRoot: "/path/to/project"}.
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | No | Project root path (uses first configured root if omitted) |
Output Schema
| Name | Required | Description |
|---|---|---|
| summary | Yes | |
| report | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate read-only and idempotent operations, which the description aligns with by implying analysis without mutation. The description adds valuable context about the tool's purpose (comparing static and runtime data) and timing ('after running the app'), which annotations do not cover, though it lacks details on rate limits or specific output behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by usage guidance and an example, all in two efficient sentences with no redundant information, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (comparing static and runtime data), the presence of annotations (readOnlyHint, idempotentHint) and an output schema, the description adequately explains the tool's purpose and usage context without needing to detail return values or behavioral traits already covered elsewhere.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the parameter 'projectRoot' is fully documented in the schema. The description adds minimal extra context with an example but does not provide significant additional meaning beyond what the schema already specifies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('compare', 'find') and resources ('static analysis graph', 'runtime event data'), distinguishing it from siblings by focusing on coverage verification rather than scanning, searching, or analyzing stores directly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use the tool ('Use after running the app to verify instrumentation completeness'), but it does not explicitly state when not to use it or name specific alternatives among the sibling tools for different scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_runtime_overviewGet runtime overviewARead-onlyIdempotent
Use this when you want a high-level health check of the running app's state management. Returns active stores, error-prone stores, unused stores, and activity patterns. Example: {} or {windowMs: 60000, compact: true}.
| Name | Required | Description | Default |
|---|---|---|---|
| windowMs | No | Time window in milliseconds (from now back) | |
| compact | No | Return TOON-encoded compact table for lower token cost |
Output Schema
| Name | Required | Description |
|---|---|---|
| summary | Yes | |
| stats | Yes | |
| noisyStores | Yes | |
| errorProneStores | Yes | |
| unmountedStores | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so the agent knows this is a safe, repeatable read operation. The description adds valuable context about what the tool returns (health check data types) and mentions the 'compact' parameter's purpose for 'lower token cost,' which isn't covered by annotations. No contradiction with annotations exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured in two sentences: the first states the purpose and return data, the second provides parameter examples. Every sentence adds value without redundancy, and it's appropriately front-loaded with the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (diagnostic read operation), rich annotations (readOnlyHint, idempotentHint), and the presence of an output schema, the description is reasonably complete. It covers the tool's purpose and key return aspects, though it could benefit from more explicit differentiation from sibling tools to fully guide usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents both parameters (windowMs, compact). The description adds minimal value by providing example parameter structures ({}, {windowMs: 60000, compact: true}) and noting the compact parameter reduces token cost, but doesn't explain parameter interactions or default behaviors beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as providing a 'high-level health check of the running app's state management' and lists specific return data (active stores, error-prone stores, unused stores, activity patterns). It distinguishes from some siblings like 'nanostores_ping' (basic connectivity) but doesn't explicitly differentiate from similar diagnostic tools like 'nanostores_store_summary' or 'nanostores_runtime_coverage'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides some guidance with 'Use this when you want a high-level health check' and gives parameter examples, but it doesn't explicitly state when to choose this tool over similar siblings (e.g., 'nanostores_store_summary' or 'nanostores_runtime_coverage'). The context is implied rather than explicitly contrasted with alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_scan_projectScan project for Nanostores usageARead-onlyIdempotent
Returns the complete store/subscriber/relation index for the project. Use compact:true for a token-efficient directory-level overview (store counts by folder). Use the full mode (default) when you need to iterate over every entity or build a complete picture. Example: {compact: true} for directory overview, {force: true} to bypass cache.
| Name | Required | Description | Default |
|---|---|---|---|
| rootUri | No | ||
| force | No | Force a fresh scan, bypassing the cache. | |
| compact | No | Return a compact directory-level summary instead of full store/subscriber lists. Use when you need a token-efficient overview of where stores live, not individual store details. |
Output Schema
| Name | Required | Description |
|---|---|---|
| root | Yes | |
| filesScanned | Yes | |
| stores | No | |
| subscribers | No | |
| mutators | No | |
| relations | No | |
| totals | No | |
| byDir | No | |
| errors | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate read-only and idempotent operations, which the description does not contradict. The description adds valuable context beyond annotations by explaining caching behavior ('bypass cache' with force parameter) and output variations (compact vs. full modes), enhancing the agent's understanding of how the tool behaves in different scenarios.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by concise usage guidelines and examples. Every sentence adds value—no redundancy or filler—making it efficient for quick comprehension by an AI agent while maintaining clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity, rich annotations (readOnlyHint, idempotentHint), and the presence of an output schema, the description is complete. It covers purpose, usage scenarios, and parameter nuances without needing to detail return values, providing all necessary context for effective tool selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 67% schema description coverage, the description compensates by providing practical semantics: it explains when to use compact mode ('for a token-efficient directory-level overview') and force parameter ('to bypass cache'), adding meaning beyond the schema's basic descriptions. However, it does not address rootUri, leaving a minor gap in parameter context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Returns the complete store/subscriber/relation index') and resource ('for the project'), distinguishing it from siblings like nanostores_project_outline or nanostores_runtime_overview by focusing on indexing rather than outlining or runtime analysis. It explicitly mentions what is returned, making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use compact mode ('for a token-efficient directory-level overview') versus full mode ('when you need to iterate over every entity or build a complete picture'), and includes an example for context. It clearly differentiates use cases, helping the agent choose appropriately without needing to infer from sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_store_activityGet store runtime activityARead-onlyIdempotent
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}.
| Name | Required | Description | Default |
|---|---|---|---|
| storeName | No | Store name to query (optional) | |
| limit | No | Max events to return | |
| windowMs | No | Time window in milliseconds (from now back) | |
| projectRoot | No | Project root path to link runtime data with static analysis | |
| kinds | No | Filter events by kind(s) | |
| actionName | No | Filter events by action name |
Output Schema
| Name | Required | Description |
|---|---|---|
| storeName | No | |
| stats | Yes | |
| events | Yes | |
| summary | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, indicating safe, repeatable read operations. The description adds valuable context beyond this by specifying the return content ('recent events, change frequency, action calls, and errors'), debugging use cases, and optional storeName behavior, though it doesn't mention rate limits or auth needs, which keeps it from a perfect score.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by usage guidance and examples, all in three concise sentences with zero wasted words. Each sentence adds specific value, making it efficient and well-structured for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's debugging complexity, rich annotations (readOnlyHint, idempotentHint), 100% schema coverage, and the presence of an output schema, the description is complete enough. It covers purpose, usage, behavioral context, and examples, leaving no critical gaps for an agent to invoke the tool effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents all 6 parameters. The description adds minimal parameter semantics beyond the schema, such as implying storeName's optionality and providing example usage, but doesn't explain parameter interactions or deeper meanings, aligning with the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('debugging a specific store's runtime behavior') and resources ('store runtime activity'), distinguishing it from siblings like nanostores_find_noisy_stores or nanostores_store_summary by focusing on detailed event-level debugging rather than high-level summaries or noise detection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool ('when debugging a specific store's runtime behavior — why it updates too often, what actions trigger changes, or whether it emits errors'), includes an alternative usage pattern ('Omit storeName to get activity across all stores'), and offers concrete examples, making it clear how to apply it in different scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_store_impactGet store impact chainARead-onlyIdempotent
When you need to trace what recomputes if X changes, call this once — not nanostores_store_summary on each downstream store. Returns the full ordered downstream chain in a single response: computed stores that depend on X at hop 1, their dependents at hop 2, and so on. Subscribers appear at the same hop as the store they react to. Use nanostores_store_subgraph instead when you also need upstream ancestors (BFS in both directions). Example: {name: "$isLoggedIn"} returns every computed store and subscriber that recomputes when $isLoggedIn changes, ordered by distance.
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | No | Exact store id. If provided, takes priority. | |
| name | No | Store name. Used if storeId is not provided. | |
| projectRoot | No | Project root path (uses default if omitted) |
Output Schema
| Name | Required | Description |
|---|---|---|
| sourceStoreId | Yes | |
| sourceName | No | |
| hops | Yes | |
| summary | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds valuable behavioral context beyond what annotations provide. While annotations indicate read-only and idempotent operations, the description explains that this tool returns 'the full ordered downstream chain in a single response' and clarifies how subscribers are included ('Subscribers appear at the same hop as the store they react to'). This provides important implementation details not captured in annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with zero wasted sentences. It begins with the primary use case, explains the return format, provides sibling tool differentiation, and includes a concrete example - all in four tightly focused sentences that each serve a distinct purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity and the presence of both comprehensive annotations and an output schema, the description provides complete contextual information. It explains the tool's purpose, when to use it versus alternatives, the structure of the response, and includes a practical example - covering all necessary aspects for effective tool selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the input schema already documents all three parameters thoroughly. The description doesn't add significant parameter semantics beyond what's in the schema, though it does provide an example using the 'name' parameter. This meets the baseline expectation when schema coverage is complete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'trace what recomputes if X changes' and 'Returns the full ordered downstream chain in a single response.' It specifically distinguishes this tool from sibling tools like nanostores_store_summary and nanostores_store_subgraph, providing explicit differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool ('call this once — not nanostores_store_summary on each downstream store') and when to use an alternative ('Use nanostores_store_subgraph instead when you also need upstream ancestors'). It also includes a practical example to illustrate proper usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_store_subgraphGet store subgraphARead-onlyIdempotent
If your question is 'what recomputes downstream when X changes?', use nanostores_store_impact instead — it gives the ordered causal chain in one call. Use this tool only when you need both directions: upstream sources AND downstream dependents together. Returns the BFS neighborhood within a configurable radius (default 2). Start with radius=1; increase only when you need wider structural context. On highly connected hub stores (score>5 in project_outline) radius=2+ may return most of the project. Example: {name: "$cart", radius: 1} or {storeId: "store:src/stores.ts#$cart", radius: 2}.
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | No | Exact store id. If provided, takes priority. | |
| name | No | Store name. Used if storeId is not provided. | |
| radius | No | BFS radius around the store (default 2) | |
| projectRoot | No | Project root path (uses default if omitted) |
Output Schema
| Name | Required | Description |
|---|---|---|
| centerStoreId | Yes | |
| radius | Yes | |
| nodes | Yes | |
| edges | Yes | |
| summary | No | |
| warning | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false. The description adds valuable behavioral context beyond these annotations: it explains the BFS algorithm with configurable radius, provides a practical starting point (radius=1), warns about performance implications on highly connected hub stores, and gives concrete usage examples. No contradictions with annotations exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with zero wasted sentences. It opens with clear usage differentiation, states the core purpose, explains key behavioral aspects (radius usage and hub store considerations), and provides concrete examples. Every sentence adds value and is appropriately front-loaded with the most important guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that annotations cover safety properties (read-only, idempotent), schema coverage is 100%, and an output schema exists (so return values don't need explanation), the description provides excellent contextual completeness. It addresses when to use the tool, behavioral nuances, practical usage tips, and examples - exactly what's needed beyond the structured data.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents all four parameters. The description adds some semantic context about the radius parameter (recommending starting with radius=1 and explaining when to increase it), but doesn't provide additional meaning for storeId, name, or projectRoot beyond what's in their schema descriptions. This meets the baseline expectation when schema coverage is complete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: to get both upstream sources AND downstream dependents together (the store subgraph) using BFS within a configurable radius. It specifically distinguishes this from the sibling tool nanostores_store_impact, which provides only the downstream causal chain. The verb 'get' combined with the resource 'store subgraph' is specific and well-differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool versus alternatives. It directly states: 'If your question is "what recomputes downstream when X changes?", use nanostores_store_impact instead' and 'Use this tool only when you need both directions: upstream sources AND downstream dependents together.' This includes clear when-not-to-use criteria and names the alternative tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanostores_store_summarySummarize a Nanostores storeARead-onlyIdempotent
Use this when you need details about a specific store — its kind, file location, direct subscribers, and first-level derived relations. Accepts store id or name. For multi-hop dependency chains use nanostores_store_subgraph instead. Example: {name: "$counter"} or {storeId: "store:src/stores.ts#$counter"}.
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | No | Exact store id. If provided, takes priority. | |
| name | No | Store name. Used if storeId is not provided. | |
| file | No | Optional relative file path to disambiguate store name. | |
| rootUri | No | Project root URI or path for multi-root setups; defaults to first root. |
Output Schema
| Name | Required | Description |
|---|---|---|
| store | Yes | |
| resolution | Yes | |
| subscribers | Yes | |
| derivesFrom | Yes | |
| derivedDependents | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already provide readOnlyHint=true, idempotentHint=true, and openWorldHint=false, which cover safety and idempotency. The description adds valuable context about what information is returned (kind, file location, direct subscribers, first-level derived relations) and provides a concrete example of parameter usage, which enhances understanding beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with three sentences: the first states the purpose and scope, the second provides usage guidance and alternative, and the third gives a concrete example. Every sentence adds value with zero wasted words, making it easy to parse and understand.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that annotations cover safety and idempotency, schema coverage is 100%, and an output schema exists, the description provides complete contextual information. It explains what the tool returns, when to use it, and provides an example, making it fully adequate for an agent to understand and invoke this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents all parameters. The description adds some semantic context by explaining that it accepts 'store id or name' and providing an example, but doesn't add significant meaning beyond what's in the schema. This meets the baseline of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: to provide details about a specific store including its kind, file location, direct subscribers, and first-level derived relations. It uses specific verbs ('summarize') and resources ('store'), and distinguishes itself from the sibling tool nanostores_store_subgraph by specifying it's for single-level details rather than multi-hop dependency chains.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool versus alternatives: 'Use this when you need details about a specific store' and 'For multi-hop dependency chains use nanostores_store_subgraph instead.' It clearly defines the context and provides a named alternative for different use cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
12 tool updates
v0.1.1- First observed
nanostores_clear_cache - First observed
nanostores_docs_search - First observed
nanostores_find_noisy_stores - First observed
nanostores_ping - First observed
nanostores_project_outline - First observed
nanostores_runtime_coverage - First observed
nanostores_runtime_overview - First observed
nanostores_scan_project - First observed
nanostores_store_activity - First observed
nanostores_store_impact - First observed
nanostores_store_subgraph - First observed
nanostores_store_summary
TDQS
Each tool has a clearly distinct purpose with no ambiguity; for example, nanostores_store_impact is specifically for downstream dependency chains, while nanostores_store_subgraph handles bidirectional neighborhoods, and nanostores_scan_project focuses on project indexing versus nanostores_project_outline for summaries. The descriptions explicitly differentiate overlapping tools like nanostores_store_impact and nanostores_store_subgraph, preventing misselection.
All tools follow a consistent snake_case pattern with a 'nanostores_' prefix and descriptive verb_noun combinations (e.g., nanostores_clear_cache, nanostores_docs_search). The naming is predictable and uniform across all 12 tools, making them easily identifiable and readable without any deviations in style.
With 12 tools, the count is well-scoped for the server's purpose of analyzing and debugging Nanostores projects. Each tool serves a specific role in static analysis, runtime monitoring, documentation, and performance tuning, covering a comprehensive workflow without being excessive or insufficient for the domain.
The tool set provides complete coverage for the Nanostores domain, including project scanning (nanostores_scan_project), runtime health checks (nanostores_runtime_overview), debugging (nanostores_store_activity), dependency analysis (nanostores_store_impact), documentation (nanostores_docs_search), and performance optimization (nanostores_find_noisy_stores). There are no obvious gaps; agents can handle all core workflows from setup to troubleshooting.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- AgentCatOAuthcom.agentcat
Analytics and debugging for your MCP server — explore usage and sessions, then root-cause errors.
2,000+ MCP servers read at source level. Know what one does before you connect. Free, no key.
The official Svelte MCP server providing docs and autofixing tools for Svelte development
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA modular MCP server for code analysis using ast-grep, enabling structural pattern matching and transformations across multiple languages.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for automatic Storybook story generation, component analysis, and validation. Auto-detects React frameworks and syncs component documentation.191MIT
- AlicenseAqualityDmaintenanceMCP server that analyzes TypeScript/JavaScript codebases via AST parsing and dependency graph tracing to identify affected tests, detect dead code, circular dependencies, and trace import chains, enabling AI agents to run only relevant tests.1549MIT
- FlicenseNot gradedqualityBmaintenanceMCP server for static code analysis using AST parsing and linters, providing tools to detect syntax errors, type issues, typos, and incorrect variable usage across multiple languages. It supports headless linting with tools like ast_check, lint_check, and health.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Valyay/nanostores-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server