Skip to main content
Glama

get_interaction

Retrieve a single LLM interaction's full details, including prompt, response, and guardrail events, by interaction ID for auditing and debugging.

Instructions

Get one LLM interaction's full detail (prompt, response, guardrail events).

Input Schema

NameRequiredDescriptionDefault
interaction_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the returned payload shape (prompt, response, guardrail events), which is genuinely useful, but says nothing about permissions, error behavior for unknown IDs, or whether the read is safe/read-only.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity contributes to the missing guidance noted elsewhere.

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?

For a simple single-parameter read tool with no output schema and no annotations, the description is minimally adequate: it tells the agent what comes back. It omits how to obtain a valid ID and any failure semantics, which are the remaining gaps.

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

Parameters2/5

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

There is one parameter at 0% schema description coverage, so the description must compensate. It only implies that interaction_id identifies an interaction; it does not say the expected format or that IDs come from list_llm_interactions, leaving the parameter effectively undocumented.

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?

States a specific verb ('Get') and resource ('one LLM interaction'), and enumerates what the detail contains (prompt, response, guardrail events). It implicitly contrasts with the sibling list_llm_interactions by specifying 'one', but never names an alternative, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no prerequisite (e.g., obtaining the interaction_id), and no exclusions relative to get_llm_session, list_llm_interactions, or get_guardrail_outcomes. Usage is only inferable from the name.

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