Skip to main content
Glama

mark_trail

Idempotent

Log content interactions to track actions like fetching, selecting, or posting within the Civitai MCP server workflow.

Instructions

Write an entry to the TRAIL content log.

content_id: content ID in format source:type:id (e.g. "civitai:image:12345"). action: what happened — fetched, selected, posted, failed, skipped. requester: workflow/task ID (e.g. "prompthub-daily"). details: optional platform-specific data. trace_id: optional pipeline trace ID. tags: optional labels for filtering.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
content_idYes
actionYes
requesterYes
detailsNo
trace_idNo
tagsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description adds valuable context beyond annotations: it specifies the log's purpose ('content log') and example actions (e.g., fetched, failed), which annotations don't cover. Annotations indicate it's non-destructive, non-read-only, idempotent, and closed-world, but the description doesn't contradict these. It could improve by mentioning rate limits or auth needs, but it provides useful behavioral details.

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 front-loaded with the core purpose in the first sentence, followed by a bullet-like list of parameters with clear explanations. Every sentence earns its place by providing essential details without redundancy, making it efficient and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (6 parameters, 3 required) and the presence of an output schema (which handles return values), the description is nearly complete: it covers purpose, parameters, and usage context. It could slightly improve by mentioning the output schema's role or error handling, but it provides sufficient guidance for an agent to invoke the 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 fully compensates by explaining all 6 parameters: it defines each parameter's purpose (e.g., 'content_id: content ID in format...', 'action: what happened'), indicates optionality ('optional'), and provides examples (e.g., 'civitai:image:12345', 'prompthub-daily'). This adds significant meaning beyond the bare schema.

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 specific action ('Write an entry') and resource ('TRAIL content log'), distinguishing it from sibling tools like 'get_trail' (which reads) and 'get_trail_stats' (which aggregates). It provides a concrete example of the content_id format, making the purpose unambiguous and differentiated.

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 implies usage for logging content-related events (e.g., fetched, selected, posted) in a workflow context, as suggested by 'requester: workflow/task ID'. However, it does not explicitly state when to use this tool versus alternatives like 'mark_as_used' or other logging methods, nor does it provide exclusions or prerequisites.

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