Skip to main content
Glama

tmh_chain

Trace a business question or requirement to related domains, flows, data tables, and verifiable source citations for evidence-based Q&A.

Instructions

Business-flow evidence Q&A: trace a business question or requirement to related domains, flows, data tables, and verifiable source citations.

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": "tmh_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowsNoMaximum number of flows to trace (default: 6).
queryYesBusiness question, feature description, or workflow keyword.
repoPathNoLocal repository path (optional if server started with --repo).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does usefully signal that output includes verifiable source citations, which is real behavioral information, but it says nothing about read-only safety, whether the repository must be scanned/indexed first, or how results are scoped or limited.

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?

A single sentence with the purpose front-loaded and no filler; every clause (question -> domains, flows, tables, citations) contributes distinct information about scope and output.

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?

No output schema and no annotations mean the description must cover more ground; it explains what is traced and that citations are returned, but leaves out prerequisites such as repository setup and how this differs from related evidence or search tools. Adequate but with clear gaps for a three-parameter analytical tool.

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 100%, so all three parameters are already documented in the schema; the description adds no syntax, format, or constraint detail beyond it. It only loosely echoes that 'query' is a business question and that tracing concerns 'flows', which is the baseline expected when the schema does the heavy lifting.

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 uses a specific verb ('trace') and names the resource chain precisely: business question/requirement -> domains, flows, data tables, source citations. That is far more informative than the bare name tmh_chain. It stops short of distinguishing itself explicitly from siblings like tmh_search or tmh_impact, so it does not reach 5.

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?

Framing it as 'Business-flow evidence Q&A' implies the use case (answering business questions with traceable evidence), but there is no explicit when-to-use or when-not-to-use statement and no named alternative for, say, change-impact analysis versus question answering. The agent must infer routing from the phrasing alone.

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