Skip to main content
Glama
ebs-query-mcp

ebs-query-mcp

by abosrie13

ebs_run_query

Read-onlyIdempotent

Executes one read-only SELECT or WITH query against Oracle E-Business Suite using bind values and org context, returning capped and masked results.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sql": "<sql>"
    },
    "name": "ebs_run_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYes
bindsNo
org_idNo
max_rowsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the safety profile is covered. The description still adds real behavior the annotations don't: results are capped at max_rows (default from config) and sensitive columns are masked, which tells the agent results may be truncated or redacted. It doesn't cover error or timeout behavior for an open-world remote query.

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?

The hard constraint (one read-only SELECT) is front-loaded in the first sentence, and each following sentence maps to a parameter or behavior. The line-broken formatting is slightly choppy but there is no filler text.

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

Completeness4/5

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

An output schema exists, so return-value shape needn't be described, and annotations carry the safety profile. Combining those with the description's coverage of binds, org context, row caps and masking leaves little an agent needs to call this correctly; only failure modes are unaddressed.

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 description coverage is 0%, so the description carries the full burden and mostly does: binds are shown with a concrete example format and the prohibition on inline literals, org_id is explained as setting MOAC context and affecting whether org-striped views return rows, and max_rows is described as a cap with a config default. Only the sql parameter itself is left to obviousness, which is acceptable.

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

Purpose4/5

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

The description states a specific verb and resource ('Run ONE read-only SELECT (or WITH ... SELECT) against EBS') and constrains it to a single statement. It implicitly separates itself from schema-introspection siblings (ebs_describe_table, ebs_list_tables) and from the action siblings by being read-only, but it never names an alternative explicitly.

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

Usage Guidelines3/5

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

It gives concrete how-to guidance (use :binds, set org_id, prefer the _ALL table with an ORG_ID filter), which is genuinely useful. However, it never says when to prefer this tool over ebs_describe_table or ebs_search_columns, so an agent must infer the boundary from sibling names alone.

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