Skip to main content
Glama

search_canon

Search a local Kimball methodology markdown corpus using Chinese or English queries and return a configurable number of matching passages for dimensional-modeling guidance.

Instructions

检索本地自备的 Kimball 方法论语料(原典 markdown)。

Args: query: 检索词(中英文均可,如 "slowly changing dimension")。 limit: 返回条数上限(1-20)。

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the corpus scope but says nothing about matching behavior (keyword vs semantic), ranking, whether results are passages or whole documents, or what happens with an empty query — all relevant for a search tool where query is optional with a default of ''.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence identifies the tool, followed by a compact Args block. No filler; the only minor redundancy is restating parameter names already in the schema, which is justified by the added range and language details.

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?

With only two optional parameters and an output schema present, the definition needn't explain return values, and it covers both inputs adequately. What remains missing is retrieval behavior and the meaning of an empty/omitted query — gaps that matter more because no annotations exist to fill them.

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?

Schema coverage is 0%, so the description must compensate, and it largely does: query is described as accepting both Chinese and English with a concrete example, and limit is given a real range of 1-20, which the schema does not encode (only a default of 5).

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+resource: retrieving from a locally provided Kimball methodology corpus of source markdown. The resource (canonical Kimball reference text) is clearly distinct from the analytic siblings (analyze_table, bus_matrix, measure_sql), though it does not explicitly name or contrast them.

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 is only implied: the mention of a locally provided canon suggests a reference-lookup role, and the example query hints at terminology questions. There is no explicit when-to-use, when-not-to-use, or statement of how this differs from the SQL/analysis siblings.

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