Skip to main content
Glama
Analytics MCP server

Analytics MCP server

by aby3941

list_tables

Read-onlyIdempotent

List tables in the saas schema to see what each holds and get exact row counts, so you can identify which business data to query next.

Instructions

List the tables in schema saas with what each holds and its exact row count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so safety is fully covered and the description does not contradict them. The description does add real behavioral information beyond the annotations, namely that results include per-table content summaries and exact (not estimated) row counts, but it omits the implication that exact counts can be expensive on large tables.

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 front-loaded sentence with no filler. Every clause (scope, per-table summary, exact row count) carries distinct information about the result.

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?

With no parameters, an output schema present, and annotations covering the safety profile, the description carries the right amount of detail. The one missing piece an agent might care about is cost or latency of computing exact row counts across all tables.

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?

The tool takes zero parameters, which is the baseline-4 case. The description also explains that the schema is fixed to "saas", clarifying why no schema argument is needed, though it does not mention any output-shaping options, which is moot given an empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ("List") with a specific resource ("the tables in schema saas") and states the payload contents: what each table holds plus its exact row count. That is enough for an agent to distinguish this bulk-inventory call from the singular describe_table sibling, though no sibling is named explicitly.

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?

Usage context is only implied: the fixed scope to schema "saas" tells the agent this is the discovery/inventory step, but there is no statement of when to prefer it over describe_table or list_metrics, and no prerequisite or exclusion guidance.

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