Skip to main content
Glama

get_trace_setup

Read-onlyIdempotent

Get exact steps to configure OpenTelemetry traces for a monitor, then carry them out: write files, verify the test span, and report the console link.

Instructions

Requires an API key with the read scope or higher. Get the exact steps to make a tool send OpenTelemetry traces to LastPing for one monitor: what to write, where, how to verify it, and what that tool cannot do. Call this when a person asks you to set up tracing, observability or telemetry for a project. Carry the steps out yourself rather than printing them: write the files, check they are git ignored, send the test span, and report the console link. Never echo the credential back to the person and never put it in committed code. The result's prompt is the full instruction for the tool you name, and each block's files are what to write; get the key with create_ingest_key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNoWhich tool will send the traces: claude-code, codex, gemini, cursor, python, node, otel-sdk or collector. Omit to get every block.
monitor_idYesMonitor UUID (from create_monitor or list_monitors).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.6

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description adds the API key requirement, the shape of the result (prompt and blocks/files), the need to get the key via create_ingest_key, and security rules about never echoing credentials or committing them. No contradiction with annotations.

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?

The description is dense but every sentence adds essential information: prerequisites, usage trigger, execution instructions, security constraints, and output interpretation. It is front-loaded with the key purpose and prerequisites.

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?

With no output schema, the description compensates by explaining the result structure (prompt, files), the prerequisite (API key), how to obtain the key, and verification steps. Nothing critical is missing for an agent to correctly invoke and use this tool.

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?

The schema already covers both parameters well, so the baseline is 3. The description adds extra meaning by explaining what the result's prompt represents for the named tool and that omitting the tool returns every block, which clarifies the optional parameter's behavior concretely.

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?

The description states a specific verb and resource: "Get the exact steps to make a tool send OpenTelemetry traces to LastPing for one monitor," with a clear list of what those steps cover. This distinguishes it from siblings like get_ping_instructions and get_trace_diagnostics by focusing on setup instructions for one monitor.

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?

It explicitly says when to call it: "Call this when a person asks you to set up tracing, observability or telemetry for a project." It does not explicitly name alternative tools to use instead, but the triggering context is clear and actionable.

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