Skip to main content
Glama

telys_stats

Read-onlyIdempotent

Retrieve stats for a Telys memory collection to confirm its existence and measure its size via partition key, live external-id count, and runtime counters.

Instructions

Report stats for one Telys memory collection: name, partition key name, and live external-id count, plus runtime-provided counters (row counts, dimension, index state) that vary by runtime version. Use to confirm a collection exists and gauge its size. Siblings: telys_list_collections enumerates collections; telys_count returns cardinality only. Required: collection. Fails when the collection does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionYesname of an existing collection in the active store

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / collection / description
      Added value: +"name of an existing collection in the active store"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and non-destructive behavior lebensraum. The description adds meaningful behavioral context beyond those annotations: the operation fails when the collection does not exist, and the runtime-provided counters vary by runtime version. This gives an agent useful expectations about variability and failure without contradicting the annotation profile.

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?

Three sentences with no filler. The core purpose and output contents are front-loaded, followed by routing guidance and then the requirement/failure caveat. Every sentence earns its place, making the description compact yet information-dense.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read-only stats tool with no output schema, this description is complete enough. It explains what stats are returned, mentions version-dependent counters, states the practical use case, distinguishes siblings, and includes the failure mode. An agent has the information needed to select and invoke this tool correctly.

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 description coverage is 100%, and the input schema already documents 'collection' as the name of an existing collection. The description reinforces this by saying 'Required: collection' and noting the failure condition, but it adds little truly new semantic information about the parameter's format, possible values, or behavior. Baseline 3 is appropriate because the schema carries the full parameter documentation.

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 names a specific action ('Report stats') and resource ('one Telys memory collection'), then enumerates the output contents: name, partition key name, and live external-id count. It explicitly contrasts itself with telys_list_collections and telys_count, making its purpose unambiguous and distinguishable from siblings.

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?

It explicitly states when to use this tool: to confirm a collection exists and gauge its size. It also names alternatives and explains their narrower scope, with telys_list_collections enumerating collections and telys_count returning cardinality only. The required parameter and failure condition when the collection does not exist further guide invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.