Skip to main content
Glama

find_fields

Locate database fields in EMS systems using keyword search, hierarchical browsing, or deep traversal to identify data elements for querying and analysis.

Instructions

Find fields in a database. Three modes available:

  • search: Fast keyword search (default). Requires search_text. Does NOT work on entity-type databases.

  • browse: Navigate field group hierarchy. Use group_id to drill down.

  • deep: BFS traversal across all field groups. Requires search_text. Works on ALL databases including entity-type. Slower (multiple API calls).

Results show numbered references [N] that can be used directly in query_database, get_field_info, etc. Field names also work.

Args: ems_system_id: EMS system ID. database_id: Database ID or name (e.g. "FDW Flights"). mode: "search" (fast keyword), "browse" (navigate groups), or "deep" (BFS). search_text: Search keyword (required for search and deep modes). group_id: Field group ID to navigate into (browse mode only). max_results: Maximum results (search/deep modes, default: 50). max_depth: Maximum traversal depth (deep mode, default: 5, max: 10). max_groups: Maximum API calls (deep mode, default: 50, max: 200). show_ids: If True, show full IDs inline instead of numbered references.

Returns: Fields with names, types, and IDs (or numbered references).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ems_system_idYes
database_idYes
modeNosearch
search_textNo
group_idNo
max_resultsNo
max_depthNo
max_groupsNo
show_idsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattsq/ems-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server