Skip to main content
Glama

Read the decisions

get_decisions
Read-only

Lists DMN decisions in the diagram with their hit policy, inputs, outputs, rules, and linked business rule tasks, then flags modeling issues such as overlapping rules and unlinked tasks. Read-only.

Instructions

Lists the DMN decisions kept in the diagram file (one DMN 1.3 model): id, name, and for a table its hit policy, inputs, outputs and rules. Also returns the business rule tasks calling each decision, the input data, and the findings (overlapping rules under Unique, uncovered values, outputs outside their values, unquoted text, unlinked tasks). Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_decisions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.6

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so 'Read-only' is partly redundant. The description adds real value beyond that by disclosing the analytical findings it computes (overlapping rules under Unique, uncovered values, outputs outside their values, unquoted text, unlinked tasks) and by scoping the read to a single DMN 1.3 model.

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?

One dense sentence with two parenthetical lists; every clause carries information about what is returned. It is somewhat run-on and the nested parentheses slow parsing, but there is no filler or repetition.

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?

With no output schema, the description must carry the return contract, and it does by enumerating decision fields, linked tasks, input data, and the finding categories. Minor gaps remain, such as how findings are structured or what happens when the file contains no DMN model, but the core contract is covered.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The description correctly spends its space on output semantics instead of inventing parameter guidance.

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 ('Lists the DMN decisions kept in the diagram file') and enumerates the returned fields (id, name, hit policy, inputs, outputs, rules) plus the linked business rule tasks and findings. This clearly separates it from sibling readers like get_shapes, get_process_report, or get_diagram_xml.

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?

Usage is implied by the content ('decisions kept in the diagram file', 'one DMN 1.3 model'), but there is no explicit when-to-use or when-not statement and no alternative named. An agent must infer that this is the read path for DMN inspection versus test_decision or set_decision_table.

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