Skip to main content
Glama

读取研究报告文件

get_research_artifact
Read-onlyIdempotent

按原任务与文件 ID 刷新过期链接,或显式读取单个产物。如果 get_research_review 已返回有效链接或正文,直接使用即可。可签发有效期 30 分钟的 download_url、expires_at 和 GET method。积分耗尽任务的产物不代表研究全部完成。安全UTF-8文本最多200000字节时同时返回content_text;更大文本及PDF、Word、Excel、PPT、PNG/JPEG/WebP、ZIP通过签名下载交付。仅可使用同一任务清单内can_download为真的artifact_id;不返回输入文件、内部脚本或跨任务文件。临时签名地址不写入HTML、引用库、ZIP或日志,过期重取同一产物,不重建扣费任务。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>",
      "artifact_id": "<artifact_id>"
    },
    "name": "get_research_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
artifact_idYes同一任务正式产物清单返回的 artifact_id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only declare readOnlyHint and idempotentHint, but the description adds substantial behavior beyond that: the 30-minute signed download_url with expires_at and GET method, inline content_text only for safe UTF-8 text up to 200000 bytes, delivery by signed download for larger texts and PDF, Word, Excel, PowerPoint, PNG-JPEG-WebP and ZIP files, the exclusion of input files, internal scripts and cross-task files, and the rule that an expired link is re-fetched for the same artifact without rebuilding or re-billing a task. It also warns that artifacts from a credit-exhausted task do not imply the research is finished. That warning is genuinely useful information for an agent, and nothing here contradicts readOnly/idempotent.

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?

The description is a single dense paragraph that front-loads the action and the sibling alternative before moving into delivery mechanics and the operational caveats. Almost every clause carries information, but the delivery-format enumeration is long, and splitting the security note about not logging signed URLs into its own line would improve scanability.

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?

There is no output schema, and the description explains the shape of the response enough to answer what the agent will get: an inline content_text for small text and a signed download_url, expires_at and GET method otherwise. It also covers the security constraint that signed URLs must not be embedded in HTML, citation libraries, ZIP files or logs. For a two-parameter read tool, nothing an agent needs to call it or to use the result correctly is missing.

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

Parameters4/5

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

Schema coverage is only 50%: artifact_id is documented as coming from the same task's official artifact manifest, while task_id has no description. The description compensates by tying task_id to the original task and by constraining artifact_id to entries with can_download=true within that same manifest, which meaningfully narrows which ID is legal. It does not define the ID format, so it is not a full 5.

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 states a specific verb and resource ('按原任务与文件 ID 刷新过期链接,或显式读取单个产物') and explicitly positions itself against the sibling get_research_review, telling the agent to prefer that tool's already-valid link or body. An agent can distinguish the two without opening 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 Guidelines5/5

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

It gives a clear when-to-use branch (refresh an expired link, or explicitly read one artifact) and a when-not branch (if get_research_review already returned a valid link or content, just use it). It also states the eligibility precondition, namely that only artifact_ids whose same-task manifest entry has can_download=true are valid, so the agent knows the exact condition under which calling this tool is allowed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources