Skip to main content
Glama

Read module settings

settings_read
Read-onlyIdempotent

Reads module settings of the site: lists the modules that have settings and whether each one is active, and returns the current settings of a module. Does not change anything.

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

Input Schema

NameRequiredDescriptionDefault
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
moduleNoModule code. site holds the general site settings.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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": "settings_modules",
      -    "description": "Lists the modules whose settings can be read and changed, and whether each one is active on the site (null when not tracked)."
      -  },
      -  {
      -    "const": "settings_get",
      -    "description": "Returns the current settings of a module (nested). Access keys are shown only as (set) or empty. Required: module."
      -  }
      -]New value: +[
      +  {
      +    "const": "settings_modules",
      +    "description": "Lists the modules whose settings can be read and changed, and whether each one is active on the site (null when not tracked). Optional: offset."
      +  },
      +  {
      +    "const": "settings_get",
      +    "description": "Returns the current settings of a module (nested). Access keys are shown only as (set) or empty. Required: module."
      +  }
      +]
    • 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

A4.2/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, so the safety profile is covered; the description adds real value beyond that by disclosing that access keys are masked as (set) or empty, that activity is null when not tracked, and that a truncated list reply names the following offset in next. These are output-shape behaviors an agent would otherwise have to discover by trial.

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?

A single front-loaded sentence covers scope, both operations, and the read-only guarantee with no wasted wording. The masking and null-tracking details live in the schema where they belong, keeping the prose tight.

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 carries the burden of explaining what comes back, and it does: module list, active flag, nested settings, masked access keys. Pagination behavior is also noted. Only the exact shape of the nested settings payload is left implicit, which is a minor residual gap.

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%, with the action enum, module codes, offset, and site_id all documented inline, so the schema already carries parameter meaning. The description adds no syntax or format detail beyond it — appropriate baseline of 3 when structured fields do 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?

The description names a specific verb and resource ("Reads module settings of the site") and then enumerates both modes of operation — listing modules that have settings and returning one module's current settings. The closing "Does not change anything" cleanly separates it from the settings_write sibling without needing to name it.

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?

Usage context is clear: the read-only framing plus the schema's oneOf entries show that settings_modules is the discovery step and settings_get the follow-up, and site_id guidance says to pass it "when several sites or chats are in use." It stops short of explicitly directing the agent to settings_write for modifications, so it is a strong 4 rather than a 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.