Skip to main content
Glama

Find names

list_names
Read-only

Find names in a database by text match on their display name, when you know roughly what something is called but not where it sits. Read-only. Typical use: resolve an ambiguous label ("Sales" may be a measure in one set and a department in another) to the right nameId before querying or editing it.

Neighbours: describe_set walks a set you already know; describe_query resolves an exact name or a name expression and returns full attributes; list_deleted_names finds deleted names (this tool only sees current ones).

Pass startsWith for a prefix match or contains for a substring match (startsWith wins if both are given). Matching ignores case. With neither, names are returned unfiltered up to the cap. Example: {database: "Sales", startsWith: "Jan"}.

Returns an array of {name, nameId, sets} - sets are the names of the sets it belongs to. At most cardinalityCap names come back (default 500); with a prefix match the cap applies before the prefix filter, so narrow the text if the result looks short.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
containsNoMatch display names containing this text, ignoring case, e.g. "forecast" (ignored if startsWith set)
databaseYesDatabase name to search
startsWithNoMatch display names starting with this text, ignoring case, e.g. "Jan"
cardinalityCapNoMax names to return (default: 500; 0 or less for no limit)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / cardinalityCap / description
      Previous value: -"Max names to return (default: 500)"New value: +"Max names to return (default: 500; 0 or less for no limit)"
    • changedInput schema / properties / contains / description
      Previous value: -"Match names containing this string (ignored if startsWith set)"New value: +"Match display names containing this text, ignoring case, e.g. \"forecast\" (ignored if startsWith set)"
    • changedInput schema / properties / startsWith / description
      Previous value: -"Match names starting with this string"New value: +"Match display names starting with this text, ignoring case, e.g. \"Jan\""
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the match precedence rule (startsWith wins over contains), case-insensitive matching, the unfiltered fallback when neither filter is set, the return shape, and the non-obvious quirk that the cardinality cap applies before the prefix filter. That cap-interaction detail is real behavioral context an agent could not infer from the annotations or schema.

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?

Front-loaded with purpose, then usage, then neighbours, then matching rules, then return shape and the example. Well organized, but slightly long and repeats a couple of schema facts (default cap of 500, case-insensitivity) that cost it a point.

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?

With no output schema, the description carries the return contract and does so fully: array of {name, nameId, sets}, the meaning of sets, and the cap behavior. Nothing an agent needs to call it correctly is missing.

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 100%, so the baseline is 3. The description goes past the schema by stating the startsWith/contains precedence and the case-insensitivity rule, though it repeats the default-500 cap that the schema already documents.

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?

States a specific verb and resource plus the exact matching mechanism: 'Find names in a database by text match on their display name.' It immediately scopes itself against siblings by naming describe_set, describe_query, and list_deleted_names and saying how each differs.

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

Usage Guidelines5/5

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

Gives the triggering condition explicitly ('when you know roughly what something is called but not where it sits') and a concrete use case (resolving an ambiguous label like "Sales" to a nameId before querying or editing). It also routes away from three named alternatives, covering both when to use this tool and when a sibling is a better fit.

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.

Resources