Find names
list_namesFind 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
| Name | Required | Description | Default |
|---|---|---|---|
| contains | No | Match display names containing this text, ignoring case, e.g. "forecast" (ignored if startsWith set) | |
| database | Yes | Database name to search | |
| startsWith | No | Match display names starting with this text, ignoring case, e.g. "Jan" | |
| cardinalityCap | No | Max names to return (default: 500; 0 or less for no limit) |