Skip to main content
Glama

Read decision context

dm.get_decision_context
Read-onlyIdempotent

Read one approved decision and its permission-filtered context in the authenticated workspace. The decision ID is always scope-checked; this tool never changes it.

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": {
      "decision_id": "<decision_id>"
    },
    "name": "dm.get_decision_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
decision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world behavior, so the bar is lower; the description still adds real value by disclosing that context is permission-filtered per authenticated workspace and that the decision ID is scope-checked and immutable. It does not describe pagination or response shape, but for a single-resource read that is a minor gap.

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?

Two tight sentences with zero filler, front-loading the read action and followed by the security-relevant constraint. Every clause carries information the agent cannot get from the schema or annotations.

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 one-parameter read with no output schema and rich annotations, the description supplies the security and scope model an agent needs to call it correctly. The only omission is any sense of what the returned context contains or how large it may be.

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 description coverage is 0% for the single required parameter, so the description must compensate. It adds the meaningful semantics that decision_id is scope-checked against the workspace and is never mutated, but gives no hint about format (opaque ID vs UUID) or how to discover a valid value, leaving a real gap.

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?

States a specific verb ("Read") and a specific resource ("one approved decision and its permission-filtered context"), which lets an agent tell it apart from search/list siblings like dm.search_decisions and dm.list_context. It stops short of naming an explicit alternative, so differentiation is inferred rather than declared.

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?

The phrase "one approved decision" implies a retrieval-by-ID use case and that unapproved decisions are out of scope, which is useful implied guidance. However, it never states when to prefer this over dm.search_decisions or how a caller obtains a valid decision_id, so usage remains implied rather than explicit.

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