Skip to main content
Glama

List shared code modules

r3_module_list
Read-onlyIdempotent

List this R3 account's shared code modules: named pieces of script stored once (e.g. "ship-core") that any Code component in any project imports with const core = this.import('ship-core'). Each with its latest version. r3_module_read shows one's code; r3_module_write creates or changes one; r3_module_usage says where it is used. See the how-to "HOWTO_CODE_MODULES.md".

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": "r3_module_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many (default 25, max 100).
cursorNoContinue a list: the nextCursor of the previous page.

Output Schema

NameRequiredDescriptionDefault
answerYesThis answer in words: what was done, what R3 measured, decided or refused, and what to do next. The same text as the result's text block. Read it: the fields beside it are the data, this is the guidance.
hasMoreYes
modulesYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety is covered by structured data. The description adds value beyond that: results are scoped to 'this R3 account', each entry carries its latest version, and a how-to document is named for follow-up. Return shape and pagination behavior are not discussed, but an output schema exists, lowering the burden.

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?

Front-loaded with the verb and resource, then the definitional example, then sibling routing, then the doc pointer — each clause carries new information with no repetition. Length is justified by the novelty of the 'shared code module' concept for an agent.

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?

An output schema covers return values and annotations cover the safety profile, and the description supplies the conceptual model plus sibling routing. It is nearly complete; the only omitted detail an agent might want is whether listing is paginated by default and how many pages to expect, though the cursor parameter hints at it.

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 description coverage is 100% and both parameters (limit with default 25/max 100, cursor as nextCursor continuation) are fully documented in the schema. The description adds nothing about paging strategy, result ordering, or cursor lifetime. Baseline 3 is correct when the schema already does the heavy lifting.

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 (List) and resource (this R3 account's shared code modules) and then defines the resource concretely with an example name and the exact `this.import('ship-core')` usage syntax, so an agent unfamiliar with R3 modules understands what it is enumerating. It also names the three sibling module tools and their distinct roles, so the tool is distinguishable without opening any schema.

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 routes the agent to alternatives: r3_module_read for code, r3_module_write for create/change, r3_module_usage for usage sites. That gives clear selection context. It stops short of an explicit when-to-use/when-not statement (e.g. 'call this first to discover a module name before calling read'), so it is not a full 5.

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