Skip to main content
Glama

search_cubes_by_title

Read-only

Find StatCan tables by title keywords. Returns productId, title, dates and frequency; each includes key_template, the dimension order of the SDMX key.

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": {
      "search_term": "<search_term>"
    },
    "name": "search_cubes_by_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNonext_offset from the previous page.
max_resultsNo
search_termYesKeywords, all must appear in the title (English or French).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / max_results / description
      Removed value: -"Max matching cubes to return. Default 10."
    • removedInput schema / properties / max_results / title
      Removed value: -"Max Results"
    • changedInput schema / properties / offset / description
      Previous value: -"Skip this many matches; use next_offset from the previous page."New value: +"next_offset from the previous page."
    • removedInput schema / properties / offset / title
      Removed value: -"Offset"
    • changedInput schema / properties / search_term / description
      Previous value: -"Text to search for in cube titles. Multiple keywords use AND logic."New value: +"Keywords, all must appear in the title (English or French)."
    • removedInput schema / properties / search_term / title
      Removed value: -"Search Term"
  2. Changed3 schema fields changed
    • changedInput schema / properties / max_results / default
      Previous value: -25New value: +10
    • changedInput schema / properties / max_results / description
      Previous value: -"Max matching cubes to return. Default 25."New value: +"Max matching cubes to return. Default 10."
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Skip this many matches; use next_offset from the previous page.",
      +  "title": "Offset",
      +  "type": "integer"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuine value by enumerating returned fields (productId, title, dates, frequency) and explaining key_template, but says nothing about result ordering, approximate match behavior, or how pagination terminates.

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 sentences, front-loaded with purpose, then return shape. Every clause carries information an agent needs; nothing is padded or repeated from the tool name.

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 output schema, the description usefully characterizes the return payload including the non-obvious key_template field. What's missing is modest but real: no pagination/cursor guidance despite an offset parameter, and no note on result ordering or empty-result 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 coverage is 67%, with search_term and offset documented in-schema while max_results has no description anywhere. The description only restates the title-keyword semantics of search_term and adds nothing about paging or result limits, so it neither compensates for the gap nor detracts.

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 ("Find StatCan tables") plus the retrieval mechanism (title keywords). It is distinguishable from data-fetching siblings like get_sdmx_data, but it never names a sibling or explicitly contrasts itself, so differentiation is inferred rather than stated.

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 implied by "by title keywords" — an agent can infer this is the discovery step before get_sdmx_data or get_sdmx_structure — but there is no explicit when-to-use/when-not guidance and no mention of the other search paths an agent might take.

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.