Skip to main content
Glama
agentic-catalog

agentic-catalog

by Renato425636

search_tables

Find relevant catalog tables from a plain-language question, prioritizing mart-layer results so agents can choose the right data sources.

Instructions

Find tables for a question in plain words. Prefer results from the mart layer.

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": {
      "query": "<query>"
    },
    "name": "search_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose a genuine ranking bias toward the `mart` layer, which is useful non-obvious context, but it says nothing about how the query is matched (keyword vs. semantic), how the limit affects results, or whether the search spans all schemas.

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 short sentences, with the core purpose front-loaded and the ranking preference second. Nothing is wasted and nothing is buried.

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

Completeness3/5

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

For a two-parameter discovery tool with an output schema, the description covers purpose and one ranking behavior, and the output schema relieves it of explaining return values. However, with 0% schema coverage it should still explain `limit` and give at least a hint of query matching behavior.

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 0%, so the description needs to compensate for both parameters. It usefully clarifies that `query` is a natural-language question ('in plain words'), but `limit` is never mentioned, so half the parameters remain semantically undocumented.

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 gives a specific verb and resource ('Find tables') plus the input modality ('for a question in plain words'), which is enough to distinguish it from describe_table, get_lineage, and run_sql. It stops short of explicitly naming those siblings as alternatives, so it lands just under a 5.

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?

The only guidance is a ranking preference ('Prefer results from the mart layer'), which shapes result ordering rather than telling the agent when to use this tool versus describe_table or run_sql. There is no when-not-to-use condition and no stated prerequisite, leaving usage to inference.

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

Deploy Server

Other Tools