agents_trace_get

Fetch the full execution detail for a single trace — tool executions, events timeline, LLM call spans (with error_message on failures). Use after agents.traces_list identifies a specific trace of interest (failed run, slow run, unexpected outcome). By default LLM system_prompt and prompt_messages...

SERVERDialogbrain SOURCEhttps://api.dialogbrain.com/mcp
Low RISK CLASS
Category Read
Parameters 42 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-saloprj-dialogbrain/agents-trace-get.md

What agents_trace_get does on Dialogbrain

AI agents call agents_trace_get to retrieve information from Dialogbrain without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
full boolean Disable all field truncation. Escape hatch for a human operator. OMIT for the standard truncated view.
agent_id integer Yes Expected agent_id — used for scope validation. Mismatch returns not_found.
trace_id string Yes Trace identifier returned by agents.traces_list.
include_llm_bodies boolean Include system_prompt and prompt_messages in LLM spans. Audited at WARNING level. OMIT to keep them stripped (the default).

Parameters from the server's own tool schema.

Why agents_trace_get is rated Low

This is fundamentally a retrieval operation that queries execution traces and diagnostic information. However, it operates on agent execution data that may contain sensitive information (LLM prompts, messages, completion texts), which elevates it from low to medium severity. The tool can expose internal system prompts and conversation context that could be sensitive if accessed by an unauthorized agent.

From the tool's definition Tool description states "Fetch the full execution detail" — retrieves trace data, tool executions, events timeline, and LLM call spans. No modifications, deletions, or external operations are performed.

Questions about agents_trace_get

What does the agents_trace_get tool do? +

Fetch the full execution detail for a single trace — tool executions, events timeline, LLM call spans (with error_message on failures). Use after agents.traces_list identifies a specific trace of interest (failed run, slow run, unexpected outcome). By default LLM system_prompt and prompt_messages are stripped — set include_llm_bodies=true to fetch them when diagnosing prompt engineering issues (emits a WARNING audit log). Set full=true to disable all field truncation. completion_text on failed LLM calls is always returned (capped at 8 KB). It is categorised as a Read tool in the Dialogbrain MCP Server, which means it retrieves data without modifying state.

What parameters does agents_trace_get accept? +

agents_trace_get accepts 4 parameters: full, agent_id, trace_id, include_llm_bodies. Required: agent_id, trace_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on agents_trace_get? +

Register the Dialogbrain MCP server in PolicyLayer and add a rule for agents_trace_get: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.

What risk level is agents_trace_get? +

agents_trace_get is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit agents_trace_get? +

Yes. Add a rate_limit block to the agents_trace_get rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block agents_trace_get completely? +

Set action: deny in the PolicyLayer policy for agents_trace_get. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides agents_trace_get? +

agents_trace_get is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Dialogbrain, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Dialogbrain's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.