Skip to main content
Glama

List own material

list_material
Read-onlyIdempotent

The creator's own material in the personal library — assetId, kind, filename, what it declares, size, duration and how many times a piece uses it — and, in uploads, the uploads still in progress or refused in the last day, each with its stage and reason. kind keeps one kind of file; asset_id returns one file with its content hash; handle returns the state of one upload. After a file is verified it can carry a ficha: what the system saw and heard in it (measures, a description of the frames, what is said, faces), with its own stage — reading (what the file shows and what is said in it is being described; the file is usable meanwhile) · ready (the description is written; estado is partial when part of it could not be produced, and motivo says why) · failed (the file could not be described and motivo says why; the file itself is still usable). The file does not wait for it: once ready, its assetId is already valid as material of a new piece and as the material of a scene. origin chooses where the files came from: own (the default: what the creator uploaded) or declared_source (figures the system took from the sources the creator declared for a piece; each carries origin and its provenance — source page, credit, license and a stance: mountable, forbidden, permission_pending, citation), or all. A file whose speaker is stated, or in which the system heard a voice, carries speaker (who speaks in it: el_autor, otra_persona, nadie, sin_declarar), speakerName, speakerOrigin (declarado when someone stated it, canal_invitado when it is presumed because a guest sent it through an upload link, sin_declarar) and hearsVoice (the system heard a voice in it). Nothing is written. $0.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly files of this kind.
limitNoHow many files to return, newest first.
handleNoOne upload, by the `handle` of its ticket: its `stage`, and its `assetId` once it is ready.
originNoWhere the files came from: `own` (default) is what the creator uploaded; `declared_source`, the figures taken from the sources the creator declared; `all`, both. With `asset_id` the file is returned whatever its origin.
asset_idNoOne file of the library, by its `assetId`; the answer adds its content hash (`sha256`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / origin
      Added value: +{
      +  "description": "Where the files came from: `own` (default) is what the creator uploaded; `declared_source`, the figures taken from the sources the creator declared; `all`, both. With `asset_id` the file is returned whatever its origin.",
      +  "enum": [
      +    "own",
      +    "declared_source",
      +    "visual_citation",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / asset_id
      Added value: +{
      +  "description": "One file of the library, by its `assetId`; the answer adds its content hash (`sha256`).",
      +  "type": "string"
      +}
    • addedInput schema / properties / handle
      Added value: +{
      +  "description": "One upload, by the `handle` of its ticket: its `stage`, and its `assetId` once it is ready.",
      +  "type": "string"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "Only files of this kind.",
      +  "enum": [
      +    "image",
      +    "video",
      +    "audio"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / limit / description
      Added value: +"How many files to return, newest first."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description's 'Nothing is written. $0.' is consistent reinforcement rather than new information. The real added value is lifecycle behavior with no output schema to carry it: the ficha stages (reading/ready/failed with partial/estado/motivo), the guarantee that a file is usable before its ficha is ready and that assetId becomes valid as material once ready, and the origin stances. It just stops short of explaining the visual_citation origin value that the schema enum exposes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the returned shape, but it is a single dense run-on paragraph of em-dash clauses mixing parameter behavior, ficha lifecycle, origin semantics and speaker fields. Nothing is truly wasted, yet the lack of grouping forces the reader to parse one long block to extract per-parameter facts.

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?

With no output schema, the description does the heavy lifting of documenting return fields (assetId, kind, filename, declarations, size, duration, usage count, uploads with stage/reason, ficha fields, speaker fields), which is appropriate for a five-parameter zero-required tool. The main gap is the unexplained visual_citation origin enum value and no note on ordering/pagination beyond 'newest first' on limit.

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 100%, so the baseline is 3 and some sentences (kind keeps one kind of file, asset_id adds sha256, handle returns stage/assetId) merely restate the schema. The description does add meaning beyond it by unpacking what origin's values mean and what each declared_source item carries (provenance with source page, credit, license and a stance), though it omits the visual_citation value present in the enum.

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 states a specific resource and scope: the creator's own material in the personal library, plus in-progress or refused uploads from the last day. Its verb is implied by the name but the enumeration of returned fields and the lookup modes (kind, asset_id, handle) make it clearly a read/listing tool. It never names a sibling (e.g. describe_material) to sharpen the boundary, so it stops short of a 5.

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: filtering by kind, fetching one file by asset_id, and checking one upload by handle are described as capabilities, not as situations where this tool beats an alternative. There is no explicit when-not guidance and no named alternative for inspecting a single asset's details.

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