Skip to main content
Glama

Airlok

Загруженные файлы

get_uploads
Read-only

Загрузка файлов пользователей приложения на хостинге: включена ли (capabilities.uploads в airlok.yml), какие расширения разрешены, сколько места занято и квота. Сверх квоты новые файлы сохранить нельзя.

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": {
      "app": "<app>"
    },
    "name": "get_uploads"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that — it names the config source (capabilities.uploads in airlok.yml) and the consequence that the quota is a hard ceiling for new uploads — but says nothing about how to free space or what the returned values look like.

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?

Purpose is front-loaded in the first clause, followed by the enumerated facts returned and a one-line constraint. Dense but efficient, with no wasted sentences; only mild density from the inline file-reference syntax.

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?

For a read-only informational tool with one fully documented parameter and no output schema, the description usefully enumerates the returned fields (enabled flag, extensions, used space, quota), which is exactly what an agent needs given no output schema exists. It is complete enough to invoke correctly.

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?

Only one parameter and schema coverage is 100%, so the schema already explains that 'app' accepts an id, a name, or 'server/name'. The description adds no parameter-level meaning, which is the expected baseline for a fully documented single-parameter tool.

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 resource and the exact facts it reports: whether uploads are enabled (capabilities.uploads in airlok.yml), the allowed extensions, used space and the quota. An agent can distinguish it from generic siblings like get_hosting_limits, though the description never names an alternative tool.

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?

Usage is implied rather than stated: an agent can infer the tool is for checking upload availability and remaining space before writing files, reinforced by the note that no new files can be saved beyond the quota. There is no explicit when-to-use/when-not guidance or reference to siblings such as delete_upload_file.

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