Skip to main content
Glama

List projects, threads, repository scopes and environments

dm.list_context
Read-onlyIdempotent

List the authenticated workspace's organizational context: Projects, Decision Threads, name-only Repository Scopes and Environments, with ids, status and counts. Filter by kind, status (active|archived|all), name substring and, for threads, project_id. Read-only. Ids are canonical; names are display only and never authorize anything.

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": "dm.list_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoRestrict to one kind; omit to list every kind (limit/offset then apply per kind).
limitNo
queryNoCase-insensitive substring of the name/title (and project key).
offsetNo
statusNoactive (default), archived, or all non-deleted items.active
project_idNoOnly for kind=decision_thread: list threads linked to this project id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive, closed-world), so 'Read-only' in the description is redundant. The genuinely additive clause is 'Ids are canonical; names are display only and never authorize anything' — a security-relevant semantic an agent would otherwise get wrong — plus disclosure of what comes back (ids, status, counts) in the absence of an output schema.

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?

Three tight sentences, front-loaded with the resource list before filters and then the id-vs-name caveat. The short 'Read-only.' fragment duplicates the annotation and could be dropped, but overall there is almost no wasted wording.

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 six-parameter, zero-required listing tool with no output schema, the description is nearly sufficient: it names the kinds, the filter axes, the returned fields, and the id/name authorization rule. It stops short of covering pagination behavior when kind is omitted (only the schema explains the per-kind limit/offset) and any ordering guarantees.

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 67% schema coverage the schema already documents kind, query, status and project_id, and the description largely restates those (status values active|archived|all, name substring, project_id only for threads). It adds no new syntax or interaction rules for limit/offset, so it is roughly at the baseline the schema sets.

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?

Uses a specific verb (list) plus a precisely enumerated resource set: Projects, Decision Threads, Repository Scopes and Environments, each with ids, status and counts. The scope ('authenticated workspace's organizational context') separates it cleanly from write-side siblings like dm.ensure_context or dm.update_context without needing their schemas.

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 description explains what filters exist (kind, status, name substring, project_id for threads) and states it is read-only, which implies this is the discovery/browse tool. However it never names an alternative such as dm.search_decisions or dm.get_decision_context, nor states when NOT to use it, so routing must be inferred from the wording alone.

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