Skip to main content
Glama

task_detail

Fetches full details for a task from your current task list, covering status, reward and deadline times, submitted effect metrics, completion state, and structured requirements or award information.

Instructions

一个任务的详情。征集任务返回状态、奖励时间、下线时间、我提交到这个任务的特效 my_effects(名称、effect_id、审核状态、拍摄数、播放数、投稿峰值、获奖金额、是否符合主题、赛道)、完成状态、是否分档任务,和整理过的任务说明 content:每个内容块(参与要求、奖项详情、近期热门、任务说明等)有名称 name、条目 items 和链接 links;条目有标题 title、正文 text(页面里的链接标记已换成文字,链接放进 links)、参考图 image_refs 和参考视频 video_refs,奖项条目另有页面原样给的金额 money、发放方式 money_mode 和名额 people(unlimited 为不限);空地址和 blob: 地址任务页里也显示不出来,只在 unusable_media 里计数;读不懂的字段原样放进 unread。要原始返回时传 save_to。成长任务返回奖励、参考工程、相关灵感(封面 cover_ref)和教程。task_id 须来自本会话的 tasks_list;活动没有详情。

返回里的图片、视频、音频给的是短引用(*_ref / *_refs,如 img:12、video:3),交给 image_view:图片直接显示,视频和音频返回原地址;引用在 MCP 服务这次运行期间有效。

Input Schema

NameRequiredDescriptionDefault
save_toNo把接口的原始返回另存到这个目录(绝对路径),文件名 task_detail-<task_id>.json,长期保留。
task_idYestasks_list 返回的 task_id。
instance_idNo官方 list_instances 返回的 instance_id,与 project_path 二选一。
project_pathNo目标工程的绝对路径。与 instance_id 二选一;只开了一个工程窗口时都可省略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does substantial work: it discloses that embedded media comes back as short refs (img:12, video:3) that are only valid for the lifetime of this MCP run, that unusable/blob URLs are only counted in unusable_media, and that unrecognized fields land in unread. It never states that the call is read-only or what happens on an invalid/foreign task_id, which keeps it below the top score.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is a single very long run-on sentence enumerating return fields, followed by two more dense paragraphs; a bulleted field list would be far more scannable. Most of the content earns its place given there is no output schema, but the packaging is heavy and hard to parse at a glance.

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, so the description must explain the return value — and it does so thoroughly for both task variants: field-by-field for 征集任务, a separate summary for 成长任务, plus edge cases (unusable media, unread fields, money_mode/people semantics). Nothing an agent needs in order to call this correctly or interpret the result is missing.

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 coverage is 100% and every parameter is already documented in the schema, so the baseline of 3 applies. The description adds the session-scoped provenance of task_id and the purpose of save_to, but it says nothing about instance_id/project_path (the either/or pair) and nothing about the save_to file naming or retention beyond what the schema already states.

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?

Opens with '一个任务的详情' — a clear resource (a single task's detail) whose content is then enumerated, so an agent knows exactly what it retrieves versus tasks_list (which supplies the ids). The verb is implied rather than stated, but the resource and scope are unambiguous and the differentiation from the sibling tasks_list/task_receive is evident.

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?

Gives an explicit prerequisite ('task_id 须来自本会话的 tasks_list') and an explicit exclusion ('活动没有详情'), plus a routing note that growth tasks return a different shape (rewards, reference projects, inspiration, tutorials). It stops short of naming which sibling to use instead when the target is an activity, so it is not a full when/when-not/alternative statement.

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