Skip to main content
Glama

uplus_upload_attachment

Uploads a local file such as a PPT, PDF, or ZIP to a homework submission, using the specified course ID, task ID, and file path.

Instructions

Attach a local file (PPT/PDF/ZIP/etc.) to a homework that requires upload.

Input Schema

NameRequiredDescriptionDefault
task_idYes
course_idYes
file_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It does not say whether an upload replaces an existing attachment, what the file size or format limits are, whether it is irreversible, or what the call returns — significant gaps for a write operation.

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?

A single front-loaded sentence with no filler; every word contributes to identifying the action and its target.

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

Completeness2/5

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

For a three-required-parameter mutation tool with no annotations, no parameter descriptions, and no output schema, the description is too thin. An agent lacks the information needed to supply correct IDs safely or anticipate the result of the upload.

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

Parameters2/5

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

Schema coverage is 0% and the three parameters (task_id, course_id, file_path) are undocumented in the schema. The description only hints that file_path is a local filesystem path ('local file'); task_id and course_id get no explanation at all, nor any note on where to obtain them.

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?

The description gives a specific verb and resource ('Attach a local file') plus the target ('a homework that requires upload'), which is enough to distinguish it from siblings like uplus_answer_homework or uplus_inspect_homework. It stops short of explicitly naming an alternative, but the purpose is clear.

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?

'to a homework that requires upload' implies the triggering condition, but the description gives no explicit prerequisites (login state, valid task_id/course_id, file type restrictions) and never mentions when not to use it or which sibling to use for other homework actions.

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