Skip to main content
Glama
ebs-query-mcp

ebs-query-mcp

by abosrie13

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EBS_MCP_CONFIGNoPath to the configuration file (default is `~/.ebs-query/config.yaml`). Passwords are read from a `.env` file next to it. Connection details (host, port, service, users, passwords, EBS login, default responsibility, optional operating unit) are written by the `ebs-query-mcp-setup` wizard.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Query and act on Oracle E-Business Suite (R12.1/R12.2) through a direct database connection.

Reading: ebs_run_query runs ONE guarded SELECT/WITH as a read-only account inside a read-only transaction. Explore before composing SQL: ebs_list_tables, ebs_describe_table (columns, FND descriptions, keys, registered foreign keys), ebs_search_columns, ebs_describe_flexfields (ATTRIBUTEn -> business prompt). Read ebs_get_hints before trusting a join: _ALL tables need an ORG_ID filter (org-striped views return nothing without MO context), _TL tables need LANGUAGE = USERENV('LANG'), _F tables need an effective-date predicate, and MTL_SYSTEM_ITEMS_B needs ORGANIZATION_ID. Use :binds for values.

Acting: nothing changes EBS without two calls. ebs_prepare_action builds the PL/SQL (all values as binds), checks the EBS user holds the responsibility, and returns a preview and a token; dry_run=true executes and rolls back where the action supports it. Show the preview to the person, and only after their explicit yes call ebs_commit_action(token, confirmed=true). Never confirm on the person's behalf. Every response names the instance and whether it is production.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ebs_list_instancesA

List the configured EBS instances and which one is active.

ebs_use_instanceB

Switch the session to another configured EBS instance (e.g. UAT, PROD).

ebs_health_checkA

Connect and report EBS release, database, session user and action setup.

check_actions=true also opens the action connection and validates the configured apps user and default responsibility (nothing is changed).

ebs_run_queryA

Run ONE read-only SELECT (or WITH ... SELECT) against EBS.

Pass values as :binds ({"po_num": "1234"}), not inline literals. org_id sets the MOAC context so org-striped views (PO_HEADERS, AP_INVOICES) return rows; querying the _ALL table with an ORG_ID filter is preferred. Results are capped at max_rows (default from config); sensitive columns are masked.

ebs_list_tablesA

Find tables / views / APPS synonyms by name (LIKE pattern, % allowed).

'PO_HEADERS' matches anything containing it. Adds the FND table description when the table is registered in FND_TABLES.

ebs_describe_tableA

Columns, data types, FND column descriptions, keys and registered foreign keys of an EBS table or view (synonyms are followed).

Foreign keys come from FND_FOREIGN_KEYS -- the joins Oracle registered for the table -- so use them to build joins instead of guessing.

ebs_search_columnsB

Find where something is stored: column names matching term, plus FND column descriptions containing it (e.g. term='need by date').

ebs_describe_flexfieldsB

Map descriptive flexfield columns (ATTRIBUTE1..n) to their business prompts, contexts and value sets -- for a table (e.g. PO_HEADERS_ALL) or a DFF name. Context 'Global Data Elements' applies to every row.

ebs_get_hintsA

EBS know-how: join traps, table maps, and implementation/setup guides (setup order, where each setup is stored, required profiles, common errors). Join topics: moac, translation, date_effective, lookups, flexfields, items, purchasing, payables, receivables_om, gl, concurrent, workflow, users. Setup topics start with setup_ (setup_foundation, setup_inventory_org, setup_items, setup_purchasing, ...). No topic = index of all topics. Read the setup_ topic before doing or checking a setup.

ebs_my_accessA

Active responsibilities (keys and names) of an EBS user -- by default the configured actions.apps_user. Use a key from here as responsibility.

ebs_find_concurrent_programA

Find concurrent programs by user name or short name and show their parameters in argument order -- exactly what submit_concurrent_request needs.

ebs_request_statusC

Phase/status, timings, completion text, arguments, log/output file names and child requests of a concurrent request.

ebs_list_requestsB

Recent concurrent requests, newest first. Filter by requester, program (user or short name, LIKE) and status_code (E=Error, G=Warning, C=Normal...).

ebs_list_notificationsB

Workflow notifications in a user's worklist (roles included) -- by default the configured apps user. status: OPEN, CLOSED, CANCELED.

ebs_notification_detailB

A workflow notification: header, message attributes (SEND = info shown to the approver, RESPOND = what the response sets) and the allowed RESULT codes for respond_notification.

ebs_list_actionsA

Actions ebs_prepare_action accepts on this instance, with parameters.

ebs_prepare_actionA

Step 1 of 2 for any change in EBS. Validates the request and returns a preview, the exact PL/SQL (values as binds) and a single-use token.

action: a built-in (submit_concurrent_request, cancel_concurrent_request, respond_notification), a registered API from ebs_list_actions, or raw_plsql (params: block, binds, outputs) when enabled. responsibility: FND responsibility_key to run under (see ebs_my_access); defaults to the configured one. dry_run=true executes and ROLLS BACK when the action supports it, so the API's own validation shows up now.

Nothing is changed by this call. Show the preview to the person and call ebs_commit_action only after their explicit yes.

ebs_commit_actionA

Step 2 of 2: execute a prepared action and COMMIT (only if the API reports success; otherwise it is rolled back). Requires confirmed=true, which you may set only after the person explicitly said yes to the preview. Tokens are single-use and expire.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 18 tools

Disambiguation5/5

The tools partition cleanly into session/health, read-only query and metadata discovery, concurrent request inspection, workflow notification inspection, and two-phase action execution. List-vs-detail pairs (requests/status, notifications/detail) and prepare-vs-commit are explicitly distinguished, so an agent can select the right tool.

Naming Consistency4/5

All tools share the ebs_ prefix and mostly use verb_noun forms (list_instances, run_query, describe_table, prepare_action). A few are noun-first (my_access, health_check, request_status, notification_detail), which is a minor deviation but still readable and predictable.

Tool Count4/5

18 tools is slightly above the typical 3-15 sweet spot, but the server spans several EBS subdomains: instance management, SQL/metadata discovery, concurrent requests, workflow, and safe actions. Each tool has a distinct role, so the count is justified though somewhat heavy.

Completeness4/5

The surface covers instance/session setup, access/health checks, read-only querying, table/column/flexfield discovery, concurrent programs/requests, workflow notifications, and generic prepare/commit actions. Minor gaps remain, such as retrieving concurrent request log/output content, but most core query and action workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues