Skip to main content
Glama

FMEPM Connect for Oracle EPM

Run business rule

run_business_rule
Destructive

Launches a business rule (calculation script) in the connected application and returns the job id. The rule runs in Oracle and changes data; the call returns before it finishes. Use it when the user wants a calculation, aggregation or allocation run, then follow up with check_job_status. For a write, I require a preview first, then confirm: true and its confirmationToken. The token lasts ten minutes and works once.

Input Schema

NameRequiredDescriptionDefault
appNameNoApplication name. Defaults to the connection's application.
confirmNoSet true after the user has approved the previewed change
ruleNameYesExact business rule name, e.g. Agg_AllData
connectionNoConnection id or label from list_connections. Defaults to the user's default connection.
parametersNoRuntime prompt values by prompt name
confirmationTokenNoSingle-use token from this exact preview. Send it with confirm: true after the user approves. It expires after ten minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint and non-idempotent, so this description only needs added context — and it delivers: it discloses that the rule mutates data in Oracle, that the call returns before completion (async), and that the confirmation token lasts ten minutes and is single-use. That is exactly the extra behavioral context annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the action, followed by side effects, usage trigger, and the confirmation protocol. No filler; the token-lifetime sentence is repeated from the schema but serves the safety-critical confirmation flow.

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

Completeness5/5

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

No output schema exists, and the description compensates by naming the return value (job id) and the async follow-up path via check_job_status. For a destructive, non-idempotent, open-world mutation with a nested parameters object, the agent has everything needed to call it safely.

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?

Schema coverage is 100%, and the description largely restates what the schema already documents (confirm, confirmationToken lifetime, job-id return). It adds the preview-then-confirm sequencing relationship between confirm and confirmationToken, which is modest added value over per-field descriptions; baseline 3 applies.

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+resource ('Launches a business rule (calculation script)') plus the return value ('returns the job id'), which immediately separates it from read-only siblings like list_applications or get_effective_policy. The parenthetical and the 'runs in Oracle' note make the resource unambiguous.

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

Usage Guidelines4/5

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

Gives an explicit trigger ('when the user wants a calculation, aggregation or allocation run') and routes the agent to the correct follow-up sibling, check_job_status. Leaves one gap: it says a preview is required before a write but, since no preview sibling exists, the agent must infer that omitting confirm on this same tool produces the preview.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources