Skip to main content
Glama

List tables

tables_list
Read-onlyIdempotent

Tables on a branch with row counts, and whether row level security is on. Scope: database:read.

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": "tables_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items (default 50), e.g. 20
branchNoBranch id, e.g. `pr-42`. Default `production`.
cursorNoThe next_cursor of the previous page
schemaNoSchema, default `public`
project_idNoProject id, e.g. `todo-app`. Default: the last one used, or your only one.
organization_idNoOrganization id, e.g. `acme`. Default: the token's.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds genuinely new behavioral facts: the required permission scope (database:read), the branch scoping, and what each row reports (row count, RLS flag). It does not mention pagination behavior even though a cursor parameter exists.

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?

Two compact clauses with the resource and returned fields front-loaded and the scope note trailing; every element carries information and nothing is padded.

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?

For a six-parameter, entirely optional read tool with a fully documented schema and no output schema, the description covers what is returned and what permission it needs. The remaining gap is the cursor/limit pagination story and the relationship to tables_describe, which keeps it from a 5.

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%, with defaults and examples documented for limit, branch, schema, project_id and organization_id, so the schema carries the parameter burden. The description adds nothing about parameters, which is acceptable but earns only the baseline.

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 names a specific resource (tables) scoped to a branch and states the returned fields (row counts, RLS on/off), which lets an agent distinguish it from tables_describe (which presumably returns column-level detail). It stops short of an explicit verb, relying on the name/title to convey 'list', so it is clear but not maximally differentiated.

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

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative is named; the sibling tables_describe is never referenced even though it is the obvious alternative. 'Scope: database:read' is an auth-scope note, not usage guidance, so an agent must infer that this is the enumeration counterpart to describe.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources