Skip to main content
Glama

list_global

Lists globally registered namespaces with config file paths, making it clear which files to open to edit commands and which namespaces are merged. Read-only.

Instructions

List the directories registered globally (their commands load from anywhere), grouped by namespace, with the absolute paths of the config files that define each namespace (open those to edit a command) and which namespaces are merged. Read-only.

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_global"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
mergedYesNamespaces whose commands can be called without the namespace word.
directoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does state the key safety fact ('Read-only') and the shape of the result (grouped by namespace, absolute config file paths, merge information). It omits ordering, whether non-merged or empty namespaces appear, and any permission context, which are minor for a no-argument read.

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 led by the verb, with no filler. The stacked parentheticals make it slightly dense to parse, but every clause adds real information about the returned content.

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?

For a zero-argument read-only tool with an output schema already documenting the return shape, the description says enough: what is listed, how it is grouped, what metadata comes with each entry, and that it is read-only. Only the relationship to sibling tools (e.g. add_global/merge_global as follow-up actions) is left implicit.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline applies. The description correctly introduces no parameter concepts that could confuse the agent.

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: list globally registered directories, and clarifies what that means ('their commands load from anywhere'), plus what each entry carries (namespace grouping, absolute config paths, merge status). The resource is clearly distinct from session-oriented siblings like list_sessions, though no sibling is named explicitly.

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 only implied through the parenthetical '(open those to edit a command)', which hints this is a discovery step before add/merge/edit operations. There is no explicit when-to-use, when-not, or named alternative, so the agent must infer its place in the workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.