Skip to main content
Glama

locus_reason

Answers multi-hop knowledge-graph questions by extracting entities, exploring their neighborhoods, and returning connecting paths and reasoning chains with entity context.

Instructions

Multi-hop KG reasoning. Extracts entities from the question, explores their KG neighbourhood, and surfaces connecting paths between them. Returns reasoning_chains, entity_neighborhood, and detected entities. Ideal for questions like 'How is Alice connected to the auth system?'

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": {
      "question": "<question>"
    },
    "name": "locus_reason"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYes
max_depthNo
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the three return components, which is useful. It omits key behavioral facts: whether this is a read-only operation, whether it requires an existing indexed store, latency or cost characteristics of multi-hop expansion, and what happens when no connecting path exists. For a tool with zero annotation coverage, these gaps are material but the return-value disclosure keeps it from being inadequate.

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 sentences, front-loaded with the core purpose and pipeline, followed by return values and a concrete example. Every sentence contributes; nothing is padded. Minor room to improve by trading the example for parameter coverage.

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?

With no output schema, the description correctly explains what is returned, which is the main completeness win. Against a three-parameter tool with 0% schema coverage and no annotations, however, it leaves both the depth control and store location undocumented, so an agent could not confidently set or reason about those inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it only partially does: 'extracts entities from the question' implies the required 'question' parameter but gives no format guidance. The 'max_depth' and 'store_path' parameters are never mentioned in the description and have no schema documentation at all, leaving their meaning, valid ranges, and defaults unexplained.

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?

The description gives a specific verb-and-resource framing ('Multi-hop KG reasoning') and breaks the operation into concrete steps: extracting entities, exploring their neighbourhood, and surfacing connecting paths. It also names the returned artifacts (reasoning_chains, entity_neighborhood, detected entities), which helps an agent recognize the output shape. It stops short of distinguishing itself from clearly overlapping siblings such as locus_find_paths or locus_kg_traverse.

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 example question ('How is Alice connected to the auth system?') gives an implied usage context that an agent can pattern-match against. However, there is no explicit when-not guidance and no named alternative for single-hop lookups or raw traversal, despite several sibling tools that appear to overlap. Usage is inferable rather than stated.

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