Skip to main content
Glama
25andresbernal

semantic-model-kit

search_semantics

Resolve ambiguous semantic terms by searching names, definitions, and synonyms for entities, dimensions, facts, filters, and metrics. Returns each match tagged by kind and owning entity.

Instructions

Search entity, dimension, time dimension, fact, filter, and metric names, descriptions, and synonyms for a free-text term.

Args: text: free-text search, e.g. "region" or "revenue". Case-insensitive substring match.

Returns every match, tagged with kind (entity, dimension, time_dimension, fact, filter, or metric) and the owning entity when there is one, so an agent can tell whether a term like "region" resolves to more than one place before guessing which is meant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

There are no annotations, so the description carries the behavioral disclosure burden. It does this well by stating case-insensitive substring matching, returning every match, and tagging each result with kind and owning entity. It does not mention empty-result behavior or result limits, but the core behavior is transparent.

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?

Three short sections with no filler: purpose, Args, and Returns. Every sentence earns its place, and the most important information is front-loaded.

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

Completeness5/5

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

For a one-parameter search tool with an output schema, this covers the input semantics, matching behavior, return structure, and the reason the return shape matters. No crucial invocation detail is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates. It defines the sole parameter 'text' as a free-text search with examples and matching semantics, adding meaning the schema alone lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb ('Search') and enumerates the full scope: entity, dimension, time dimension, fact, filter, and metric names, descriptions, and synonyms. This distinguishes it from siblings like list_entities and describe_metric, which target a single resource type.

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

Usage Guidelines4/5

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

The description gives clear context: use this for free-text, case-insensitive substring lookup across semantic objects, and it explicitly frames why it matters (disambiguating terms like 'region' before guessing). It does not explicitly name sibling alternatives or state when not to use it, so it stops short of a 5.

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