Skip to main content
Glama

Read modules

modules_read
Read-onlyIdempotent

Lists installed and available modules of the site; shows module status and the indexing quarantine status.

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": {
      "action": "<action>"
    },
    "name": "modules_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
offsetNoRecords to skip from the start of a list; overrides page. A list reply cut at its size limit names the offset that follows in next.
site_idNoSite to read: site_id from list_sites. Without it the call reads the site chosen with select_site; pass it when several sites or chats are in use.
module_codeNoLowercase module code, as listed by modules_list (field module) or active_mods (field code) on the same site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / module_code / description
      Previous value: -"Lowercase module code, as listed by modules_list (field module) or active_mods (field code) on the active site."New value: +"Lowercase module code, as listed by modules_list (field module) or active_mods (field code) on the same site."
    • addedInput schema / properties / site_id
      Added value: +{
      +  "description": "Site to read: site_id from list_sites. Without it the call reads the site chosen with select_site; pass it when several sites or chats are in use.",
      +  "type": "integer"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "active_mods",
      -    "description": "Lists the modules installed on the site."
      -  },
      -  {
      -    "const": "modules_list",
      -    "description": "Lists all modules with their installed and uAPI flags (needs Control Panel access)."
      -  },
      -  {
      -    "const": "module_status",
      -    "description": "Returns the status of one module (needs Control Panel access). Required: module_code."
      -  },
      -  {
      -    "const": "quarantine_status",
      -    "description": "Returns the indexing quarantine status of the site."
      -  }
      -]New value: +[
      +  {
      +    "const": "active_mods",
      +    "description": "Lists the modules installed on the site. Optional: offset."
      +  },
      +  {
      +    "const": "modules_list",
      +    "description": "Lists all modules with their installed and uAPI flags (needs Control Panel access). Optional: offset."
      +  },
      +  {
      +    "const": "module_status",
      +    "description": "Returns the status of one module (needs Control Panel access). Required: module_code."
      +  },
      +  {
      +    "const": "quarantine_status",
      +    "description": "Returns the indexing quarantine status of the site."
      +  }
      +]
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Records to skip from the start of a list; overrides page. A list reply cut at its size limit names the offset that follows in next.",
      +  "type": "number"
      +}
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful scope context (module status plus quarantine status), but it does not mention the Control Panel access requirement or the pagination/next-offset behavior, both of which matter operationally.

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?

A single front-loaded sentence that names the resource first and the returned facets second, with no filler. It is efficient, though the semicolon-joined second clause could have been used to carry routing guidance instead.

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 state what kinds of information come back (installed/available modules, status, quarantine status). Combined with a fully documented four-parameter schema and complete annotations, an agent has what it needs to call it, with only sibling routing left implicit.

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%: the action enum documents each of the four operations with its required and optional parameters, and offset, site_id and module_code are each explained. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 verb and resource ("Lists installed and available modules of the site") plus the extra facets it surfaces: module status and indexing quarantine status. That is enough to distinguish it from the mutating siblings modules_write and modules_uninstall, though the description never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance, no exclusions, and no pointer to alternatives for reading or changing modules. An agent must infer from the name alone that this is the read path and that modules_write/modules_uninstall handle mutations.

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.