Skip to main content
Glama

Course Files

list_files
Read-onlyIdempotent

Lists a Course's Files and Folders. With a fileId, gives that File's details, and for a Pad (a shared text) its text: use it for any File a course page or Task names.

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": {
      "courseId": "<courseId>"
    },
    "name": "list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdNoA File's id, from a first call without it, to read that File
courseIdYesThe Course's id, from list_courses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds value beyond them by disclosing the return shape per mode: file details with a fileId, and the actual text for a Pad. It omits pagination behavior and what happens with an invalid fileId.

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?

Two short sentences, front-loaded with the main list behavior before the fileId variant. The clause 'and for a Pad (a shared text) its text' is grammatically compressed and requires a second read, but no sentence is filler.

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 two-parameter read tool with full annotation coverage and no output schema, the description covers both modes and what is returned in the detail mode. Minor gaps remain around list result contents and pagination, but nothing essential for correct invocation 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%, so both parameters are already documented, including fileId's 'from a first call without it' pattern. The description's one genuine addition is that a Pad returns its text rather than metadata, which is not in the schema, but otherwise it largely restates what structured fields already convey.

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 names a specific verb and resource ('Lists a Course's Files and Folders') and discloses a second mode keyed on fileId. It is clear what the tool does, but the dual list/get behavior in one sentence makes the primary purpose slightly less crisp, and it does not explicitly contrast itself with siblings like get_course_page.

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?

'use it for any File a course page or Task names' gives real routing guidance: it tells the agent to come here to resolve file references surfaced by other tools. It stops short of stating exclusions or ordering constraints (e.g., must call list_courses first), which the schema implies but the description does not say.

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.