Skip to main content
Glama

get_trail

Read-onlyIdempotent

Query the TRAIL content log to check what content was fetched, selected, posted, or skipped. Filter by content ID, action, requester, trace ID, or time period.

Instructions

Query the TRAIL content log. Use to check what content was fetched, selected, posted, or skipped.

content_id: filter by content ID (exact or prefix like "civitai:image:"). action: filter by action(s) — "fetched", "selected", "posted", "failed", "skipped". String or list. requester: filter by workflow/task ID. trace_id: filter by pipeline trace ID. since: ISO 8601 timestamp — only entries after this time. limit: max entries, newest first (0 = all). offset: entries to skip for pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
content_idNo
actionNo
requesterNo
trace_idNo
sinceNo
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The annotations already declare this as read-only, non-destructive, idempotent, and open-world. The description adds valuable behavioral context beyond annotations: it specifies the tool returns entries 'newest first' and explains pagination behavior with 'limit' and 'offset' parameters. It also clarifies the filtering capabilities for various log attributes. No contradiction with annotations exists.

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 perfectly structured: a clear purpose statement followed by a bullet-like list of parameter explanations. Every sentence earns its place - the first sentence establishes purpose, and each parameter explanation adds essential filtering context. No wasted words or redundancy.

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?

Given this is a query tool with comprehensive annotations (read-only, non-destructive, etc.) and an output schema exists, the description provides complete context. It explains the tool's purpose, usage scenarios, behavioral details (sorting order, pagination), and full parameter semantics. The combination of description and structured data gives the agent everything needed to use this tool correctly.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden of explaining parameters. It provides excellent semantic context for all 7 parameters: explaining what each filters by, giving examples (like 'civitai:image:' prefix for content_id), clarifying data types (string or list for action), and explaining special values (0 = all for limit). This fully compensates for the schema coverage gap.

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 clearly states the tool's purpose: 'Query the TRAIL content log' with the specific verb 'query' and resource 'TRAIL content log'. It distinguishes from siblings by specifying it's for checking 'what content was fetched, selected, posted, or skipped' - none of the sibling tools appear to serve this logging/audit function.

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?

The description provides clear context for when to use the tool: 'Use to check what content was fetched, selected, posted, or skipped.' This gives the agent specific scenarios for usage. However, it doesn't explicitly state when NOT to use it or mention alternatives like 'get_trail_stats' (a sibling tool that might provide aggregated statistics instead of detailed logs).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/timoncool/civitai-mcp-ultimate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server