Skip to main content
Glama

Search approved decisions

dm.search_decisions
Read-onlyIdempotent

Search approved, permission-filtered decisions in the authenticated workspace. Use for decision lookup; it never creates or approves records. project and repository accept an ID, key/name, or legacy value; thread_id is the legacy meeting thread and decision_thread_id is the canonical organizational thread. All supplied filters are combined with AND semantics.

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

Input Schema

NameRequiredDescriptionDefault
modeNo
limitNo
queryYes
offsetNo
filtersNo
projectNo
thread_idNoLegacy meeting thread ID; use decision_thread_id for the canonical organizational thread.
componentsNo
repositoryNo
decision_thread_idNoCanonical organizational Decision Thread ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds real value with permission filtering, auth-derived workspace scoping, acceptance of ID/key/legacy identifier forms, and AND semantics across filters. It says nothing about result shape, pagination, or ranking behavior, which the annotations do not cover.

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?

Three tight sentences with the core scope front-loaded and no filler. Each clause carries information an agent needs, and the thread_id versus decision_thread_id distinction is packed into a single appositive rather than a paragraph.

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

Completeness3/5

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

For a ten-parameter search tool with no output schema, the definition never explains retrieval mode (keyword versus semantic versus hybrid), pagination via limit/offset, or what a result set looks like. The identifier and filter-combination notes are helpful, but the description leaves too much of a fairly rich search surface undocumented.

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 only 20%, and the description covers just four of ten parameters (project, repository, thread_id, decision_thread_id) — and largely restates what those schema entries already say ("ID, key, or legacy value"). The AND-semantics sentence is a genuine addition, but mode, limit, offset, query, owner, date range, and the three status filters get no meaning at all from the description.

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 ("Search approved, permission-filtered decisions in the authenticated workspace") plus the scope constraint of workspace-only results. The negative clause "never creates or approves records" separates it from dm.propose_decision and dm.approve_review_proposal without needing a schema comparison.

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?

"Use for decision lookup" plus the explicit exclusion of create/approve behavior gives a clear when-to-use signal and one when-not signal. It stops short of naming a concrete alternative for retrieval-adjacent sibling tools such as dm.get_decision_context or dm.check_conflicts, so an agent must still infer that boundary.

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