Skip to main content
Glama

List Custom module versions

list_module_versions
Read-onlyIdempotent

List a Custom service datasource's published module versions, newest first. Returns the module name, the current artifact hash, and one row per version with artifact_hash, current, created_at, published_by, client_id, runtime, backend_kind, build_state, readable and part sizes. It returns no source. Pass cursor from next_cursor to continue. limit is 1 to 100; omit it for the default page. A catalogue card is refused as datasource_is_a_card. Only a human Project Administrator is offered this tool.

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": {
      "datasource_id": "<datasource_id>"
    },
    "name": "list_module_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many versions to return, from 1 to 100. Omit it for the default page.
cursorNoOpaque next_cursor from the previous page. Omit it for the first page.
datasource_idYesThe service datasource whose published module to list (UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: ordering (newest first), the exact returned row fields, the fact that source is excluded, cursor continuation behavior, and a documented failure mode ('A catalogue card is refused as datasource_is_a_card'). The access restriction to human Project Administrators is an auth constraint the annotations do not convey.

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 and ordering are front-loaded, and there is little waste. The middle sentence cramming ten return fields into one list slightly hurts readability but is efficient rather than verbose.

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

Completeness5/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 carries the return contract and does so by enumerating the module name, current artifact hash, and per-version row fields. Pagination, size limits, an error case, and the access precondition are all covered, leaving nothing an agent needs in order to call it correctly.

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 coverage is 100%, so baseline is 3. The description still adds value by tying cursor to 'next_cursor' from the prior response (not visible in the input schema) and by explaining that catalogue-card datasource_ids are rejected, clarifying what a valid datasource_id is.

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 and a precisely scoped resource: 'List a Custom service datasource's published module versions, newest first.' The addition of 'It returns no source' implicitly separates it from a source-reading sibling such as read_module_version, and 'Custom module' vs. app versions distinguishes it from list_app_versions.

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?

Gives operational guidance for pagination ('Pass cursor from next_cursor to continue') and the limit range/default, plus an audience constraint ('Only a human Project Administrator is offered this tool'). However, it never states when to choose this over read_module_version or list_app_versions, so alternative routing is left to inference.

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