Skip to main content
Glama

list_views

Lists all saved views for a specified database within a workspace, helping you identify existing views by workspace and database path.

Instructions

List all saved views for a database.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace": "<workspace>",
      "databasePath": "<databasePath>"
    },
    "name": "list_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceYesWorkspace path or name
databasePathYesPath to the database folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. "List all" usefully implies a complete, non-destructive enumeration, but it says nothing about permissions, whether views are user-scoped or shared, or the shape of each returned item.

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?

One short sentence, front-loaded with the verb and with zero filler. Nothing could be trimmed without losing scope information.

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 two-parameter read-only list tool with full schema coverage and no output schema, the definition is nearly sufficient to call correctly. The remaining gap is what a returned view looks like, which an agent would need in order to chain into a view-specific tool.

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 both workspace and databasePath documented in-schema, so the baseline of 3 applies. The description adds no syntax hints such as how databasePath relates to a workspace path or whether either accepts a display name.

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?

States a specific verb and resource ("List all saved views") plus the scoping unit ("for a database"), which distinguishes it from create_view and from list_databases in the sibling set. It stops short of naming an alternative explicitly, so it lands at clear-but-undifferentiated.

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 guidance, no prerequisite note (e.g., that the database must already exist), and no pointer to create_view for adding views. The agent must infer that listing precedes selecting a view for read_database or similar.

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