Skip to main content
Glama
MauroDruwel

Smartschool MCP Server

by MauroDruwel

download_homepage_image

Download images from Smartschool homepage blocks to a local folder using the image URLs returned by get_homepage_blocks.

Instructions

Download an image embedded in a homepage block.

Use the URLs returned in get_homepage_blocks()["blocks"][*]["images"]. Only assets on the configured Smartschool host are accepted.

Args: image_url: Image URL from get_homepage_blocks. save_path: Optional directory to save into (default: ~/Downloads/smartschool/).

Returns: Dictionary with the saved file path and bytes written.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlYes
save_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it documents the default save directory, the host restriction, and the return shape. It does not cover edge behaviors like overwriting or directory creation, but for a simple download tool the key behavioral facts are present.

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?

The description is compact and front-loaded with the core action, immediately followed by the crucial usage pointer and constraint. The Args/Returns formatting is economical and every sentence adds value.

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?

The tool is simple with only two parameters, and the description supplies the source of the URL, the required host condition, the default save location, and the return value. The only minor gaps are filename derivation and overwrite behavior, which are not essential for basic invocation.

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 description coverage is 0%, so the description must compensate. It does: image_url is tied directly to get_homepage_blocks output, and save_path gets its optionality, default value, and meaning ('directory to save into'). This fully covers both parameters.

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?

States a specific verb ('Download') and resource ('image embedded in a homepage block'), and differentiates from siblings like download_attachment by scoping to homepage block images with a specific source API. The reference to get_homepage_blocks makes what it operates on unmistakable.

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?

Explicitly tells the agent where to obtain the URL (get_homepage_blocks()['blocks'][*]['images']) and imposes the allowed-host constraint. It provides clear context for when to use it, though it does not explicitly state when not to use it or mention alternatives such as download_attachment.

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