Skip to main content
Glama

Check code intelligence for a repository scope

dm.get_repository_intelligence_capabilities
Read-onlyIdempotent

Resolve a name-only Repository Scope by repository_id or exact name and report whether code intelligence (Graphify) can be used for it: UNLINKED, LINKED_NOT_CONNECTED, CONNECTED_NOT_INDEXED, INDEX_AVAILABLE, INDEX_STALE or FAILED, with graph_read_available. Read-only: it never connects, fetches or indexes. Use the returned repository_id with the dm.graph_* tools only when graph_read_available is true.

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.get_repository_intelligence_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoExact scope name, e.g. 'Auzzura/DM-Core' (case/whitespace-insensitive).
repository_idNoCanonical Repository Scope id (preferred). Names are display values only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds value beyond that by stating it never connects, fetches or indexes — i.e., a capability probe with no side effects — and by naming the gates (index stale/failed/not connected) that govern subsequent graph calls.

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: purpose and outcome enumeration first, then the read-only guarantee and the concrete follow-up rule. Every clause carries information an agent needs to decide and act; no redundant phrasing.

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 enumerating the returned status values and the graph_read_available flag. Combined with the zero-required-parameter schema and the explicit downstream usage rule, an agent has everything needed to call it and interpret the result.

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 schema already documents the id-preferred / exact-normalized-name OR relationship, so the description's 'by repository_id or exact name' largely restates structured data. It adds only the framing of resolving a 'name-only' scope, which is modest value.

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 (resolve a Repository Scope, report code-intelligence capability) and enumerates the six possible outcomes (UNLINKED through FAILED) plus graph_read_available. It also names the downstream sibling family (dm.graph_*) and the condition for using it, so the agent can distinguish this capability check from actual graph reads.

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 clear routing guidance: use the returned repository_id with dm.graph_* tools only when graph_read_available is true, and notes the tool is read-only and never connects/fetches/indexes. It lacks an explicit statement of when *not* to call it (e.g. when you already hold a resolved id), but the positive context is unambiguous.

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