Skip to main content
Glama
ebs-query-mcp

ebs-query-mcp

by abosrie13

ebs_prepare_action

Read-only

Validates an EBS change request and returns a preview, exact PL/SQL with bound values, and a single-use token for review before explicit confirmation and commit.

Instructions

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.

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": {
      "action": "<action>"
    },
    "name": "ebs_prepare_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
org_idNo
paramsNo
dry_runNo
apps_userNo
responsibilityNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: 'Nothing is changed by this call', the single-use token, the preview contents, and the important caveat that dry_run executes and rolls back 'when the action supports it' so validation errors surface early. The openWorldHint/idempotentHint=false annotations are consistent with a single-use token, though the description never says what happens when the action does not support rollback.

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-loads the two-step framing and the safety contract, then uses a terse label-style layout for parameters. Dense but every line carries information; only the line-wrapped formatting slightly hurts scannability.

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?

For a two-phase mutation workflow this covers the essential contract: prepare is non-mutating, produces a preview and token, and the human-approval gate precedes commit. An output schema exists so return structure needn't be described; the remaining gap is undocumented org_id/apps_user and params semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description must carry all parameter meaning, and it only covers three of six: 'action' (built-ins, registered API, raw_plsql with block/binds/outputs), 'responsibility' (FND responsibility_key, defaults to configured), and 'dry_run'. 'org_id', 'apps_user', and the general 'params' shape for non-raw_plsql actions are never explained.

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 artifact returned ('validates the request and returns a preview, the exact PL/SQL ... and a single-use token'). The phrase 'Step 1 of 2' immediately distinguishes it from ebs_commit_action, so an agent can place it in the workflow without opening either schema.

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?

Explicitly names the successor tool and the precondition for calling it ('call ebs_commit_action only after their explicit yes'), and routes elsewhere for inputs ('a registered API from ebs_list_actions', 'see ebs_my_access'). It also sets a when-to-use scope: 'any change in EBS'.

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