Skip to main content
Glama
sgx-labs

Stateless Agent Memory Engine (SAME)

index_stats

Read-only

Check the health and size of your note index to verify it's current and report statistics like note count, chunk count, and last indexed timestamp.

Instructions

Check the health and size of the note index. Use this to verify the index is up to date or to report stats to the user.

Returns note count, chunk count, last indexed timestamp, embedding model info, and database size.

If the user reports problems, suggest they run same doctor for diagnostics. For bugs, direct them to: https://github.com/sgx-labs/statelessagent/issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The annotations already declare readOnlyHint=true, indicating a safe read operation. The description adds valuable context beyond this by specifying what information is returned (note count, chunk count, etc.) and providing troubleshooting guidance, though it doesn't mention rate limits or performance characteristics. 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with the core purpose, followed by details and troubleshooting. It could be slightly more concise by merging some sentences, but every sentence adds value (e.g., return details and alternative actions).

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 low complexity (0 parameters, read-only), no output schema, and rich annotations, the description is mostly complete. It explains the purpose, usage, returns, and troubleshooting, though it could briefly mention the response format or any limitations for full completeness.

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?

With 0 parameters and 100% schema description coverage, the baseline is 4. The description appropriately notes there are no inputs by not discussing parameters, which is sufficient given the schema fully covers this.

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's purpose with specific verbs ('Check', 'verify', 'report') and resources ('health and size of the note index'), distinguishing it from siblings like reindex (which modifies) or mem_health (which checks memory). It explicitly identifies what it does rather than restating the name.

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

Usage Guidelines5/5

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 ('to verify the index is up to date or to report stats to the user') and when to use alternatives ('If the user reports problems, suggest they run `same doctor` for diagnostics. For bugs, direct them to...'), clearly differentiating from other tools like reindex or mem_health.

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/sgx-labs/statelessagent'

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