Skip to main content
Glama

Get Artifact

deerflow_get_artifact
Read-onlyIdempotent

Fetch a single artifact file from a DeerFlow thread by thread ID and path; text-like files return inline content, binary files return a URL.

Instructions

Fetch a single artifact file from a DeerFlow thread. Text-like files (markdown, json, csv, plain text) are returned inline as content; binary files return a URL reference instead. Note: with a Personal Access Token this endpoint is not in the PAT route allowlist — an internal token is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe artifact path, as listed by deerflow_list_artifacts (e.g. 'mnt/user-data/outputs/report.md').
thread_idYesThe thread id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
noteNo
pathYes
contentNo
content_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description adds genuinely non-structured context: text-like files come back inline while binary files return a URL, and a Personal Access Token will not work because this route is not in the PAT allowlist. That auth constraint is exactly the kind of operational detail annotations cannot convey.

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?

Three sentences, front-loaded with the core action, followed by return-format behavior and then the auth caveat. No filler, no restatement of the title, and each sentence carries distinct information.

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?

An output schema exists, so return values need not be explained, yet the description still usefully summarizes the inline-vs-URL split. Purpose, response shape, and the auth prerequisite are all covered; only failure modes (missing thread or path) are left unaddressed.

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 both parameters are fully documented in the schema, including an example path format and the pointer to deerflow_list_artifacts. The description adds no syntax, format, or validation detail beyond that, which is the expected baseline when the schema does the heavy lifting.

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 and resource ('Fetch a single artifact file from a DeerFlow thread') with a scope qualifier ('single') that implicitly distinguishes it from the listing sibling. It stops short of naming deerflow_list_artifacts as the alternative, so the differentiation is inferable rather than explicit.

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

Usage Guidelines3/5

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

The schema's path description points the agent to deerflow_list_artifacts as the source of valid paths, which implies the intended workflow, and the PAT note flags an authentication precondition. However, the description never states when to choose this tool over siblings or when it is not applicable.

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