Skip to main content
Glama
syncause-debug-mcp

syncause-debug-mcp

by Syncause

get_trace_insight

Fetch a single request's lifecycle report—call tree skeleton, key SQL summaries, and exception logs—to diagnose root causes with evidence.

Instructions

Get a complete lifecycle report for a single request, including call tree skeleton, key SQL summaries, and exception logs.

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": {
      "projectId": "<projectId>",
      "traceId": "<traceId>"
    },
    "name": "get_trace_insight"
  }
}

Input Schema

NameRequiredDescriptionDefault
traceIdYesUnique identifier obtained from search_debug_traces.
projectIdYesThe unique identifier of the project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.15

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does convey that this is a read-style aggregation and roughly what the payload contains. It does not state permissions/access requirements, response size or cost, whether the trace must be finished, or behavior when no data exists for the trace — gaps that matter for a report-generating call.

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 front-loaded sentence with no filler; every clause after the main verb names a distinct part of the returned report, so nothing is redundant.

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 annotations and no output schema, the description usefully enumerates the return contents, which offsets the missing output schema. However, for a whole-request report it says nothing about result limits, truncation, or failure behavior, leaving meaningful gaps for correct invocation.

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

Parameters4/5

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

Schema coverage is 100% and both parameters are documented in the schema, so baseline is 3; the description adds a little by framing both IDs as identifying one request lifecycle. It adds no further semantics beyond that, so it sits just above baseline.

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?

Uses a specific verb ('Get') plus a clearly scoped resource ('complete lifecycle report for a single request') and enumerates the report contents (call tree skeleton, SQL summaries, exception logs). That distinguishes it from search_debug_traces and inspect_method_snapshot, though it never names those siblings explicitly.

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?

Implicit guidance only: 'a single request' signals this is a per-trace deep-dive, and the required traceId parameter description (in the schema, not the description) points back to search_debug_traces. There is no explicit statement of when to prefer this over diff_trace_execution or inspect_method_snapshot, and no exclusions.

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