Skip to main content
Glama

Create tracing key

create_ingest_key

Create an ingest-scoped key bound to one monitor so automation can send traces, metrics, logs and pings for that monitor, with no REST access.

Instructions

Requires the write scope or higher. Creates a tracing key: an ingest-scoped key bound to one monitor, able to send traces, metrics, logs and pings for it and nothing else; every REST call refuses it. For automation that stores the key itself (a CI secret, a deployment's secret store). The plaintext key appears only in this result, which puts it in the conversation; the console's Create a tracing key keeps it out of chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional label for the key. Defaults to "Tracing:" followed by the monitor's name.
expires_atNoOptional RFC 3339 expiry, e.g. "2026-12-31T00:00:00Z". Omitted: 90 days. Either way it is capped at the creating key's own expiry.
monitor_idYesMonitor UUID the key is bound to (from create_monitor or list_monitors).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.17
    • changedInput schema / properties / expires_at / description
      Previous value: -"Optional RFC 3339 expiry, e.g. \"2026-12-31T00:00:00Z\". Omit for a 90-day key, capped at the creating key's own expiry."New value: +"Optional RFC 3339 expiry, e.g. \"2026-12-31T00:00:00Z\". Omitted: 90 days. Either way it is capped at the creating key's own expiry."
  2. Addedv0.1.6

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations (which only supply readOnly/destructive/idempotent hints) by disclosing the required write scope, the constrained capability of the resulting key, and the security-relevant fact that the plaintext key is returned exactly once and lands in the conversation. This is exactly the kind of side-effect context an agent needs before invoking a mutation.

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?

Front-loads the permission requirement, then the artifact definition, then the use case, then the exposure caveat. Every clause carries distinct information; there is no filler despite the density.

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 describing the return ('the plaintext key appears only in this result'), plus scope, lifetime behavior implied by the schema, and the comparison to the console path. An agent has everything needed to call this safely and correctly.

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 name, expires_at and monitor_id are already fully documented with formats and defaults. The description reinforces the one-monitor binding but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource and then defines the artifact precisely ('an ingest-scoped key bound to one monitor, able to send traces, metrics, logs and pings for it and nothing else; every REST call refuses it'). This definition cleanly separates it from the sibling create_api_key without requiring the agent to open either schema.

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?

Gives a clear when-to-use condition ('For automation that stores the key itself (a CI secret, a deployment's secret store)') and an explicit when-not via the console alternative that keeps the plaintext out of chat. It does not, however, contrast against the sibling create_api_key, so routing between MCP options is left partly to inference.

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