Skip to main content
Glama

study_download_resource

Save a Learn resource directly without browser Save As by obtaining its original URL from the DOM. Get a verified local file with checksum and source page.

Instructions

Save an observed Learn resource directly without browser Save As. Obtain its current original-file URL from visible link/iframe DOM. Signed URLs are transient and never saved in metadata. Returns a verified local file, checksum and source page. Verified local copies are reused unless refresh=True; reuse does not check remote freshness.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYes
refreshNo
filenameYes
download_urlYes
max_megabytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.5.0
    • removedInput schema / properties / download_url / title
      Removed value: -"Download Url"
    • removedInput schema / properties / filename / title
      Removed value: -"Filename"
    • removedInput schema / properties / item_id / title
      Removed value: -"Item Id"
    • removedInput schema / properties / max_megabytes / title
      Removed value: -"Max Megabytes"
    • removedInput schema / properties / refresh / title
      Removed value: -"Refresh"
    • removedInput schema / title
      Removed value: -"study_download_resourceArguments"
  2. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare a non-read-only, open-world write, and the description adds real behavioral context beyond that: signed URLs are transient and never persisted, reuse is cached without remote freshness checks, and success yields a verified local file with checksum. It stops short of stating auth/permission requirements or failure modes.

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?

Dense and front-loaded: the primary action leads, followed by the URL-sourcing constraint, persistence caveat, and return/reuse semantics. No sentence is filler, though the block is terse enough to feel clipped on parameter detail.

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

Completeness3/5

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

With no output schema, the description helpfully enumerates return values (local file, checksum, source page) and the caching rule, covering the result side well. The parameter side is left largely undocumented despite five inputs, so the definition is only adequate for a tool of this complexity.

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 description coverage is 0% across five parameters, and the description only implicitly covers download_url (the original-file URL) and refresh (the reuse toggle). item_id, filename, and max_megabytes receive no explanation anywhere, so the agent is left guessing their format and effect.

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+resource ('Save an observed Learn resource directly') and contrasts it with the browser Save As workflow, so the agent knows what category of action this is. It does not distinguish this from sibling tools such as study_download_files or study_downloads, which occupy similar space.

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 a clear condition for use: the resource URL must come from visible link/iframe DOM, not browser Save As. It also explains the reuse/refresh decision rule. It names no sibling alternative, so the agent must infer the boundary against study_download_files itself.

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