Skip to main content
Glama

List glossaries

list_glossaries
Read-only

List the organisation's glossaries: each with its id (the glossaryId the other glossary tools take), name, the locales its entries use, how many entries it holds, and the Projects and active Workflows using it, by name. repositoryManaged is set on a glossary synced from a project's asset repository, which refuses every write. A glossary with origin fetched holds what it last fetched from its source, which fetched.sourceKind names: notion, a Notion data source (with the connection and the data source), or repository, one TBX or CSV glossary file of a GitHub repository (with the repository, branch and path); fetched.status is its fetch status. Every write to it is refused with GLOSSARY_FETCHED — tell the user to edit the Notion database, or the file on its branch, instead. repositoryWorkflows lists the active Workflows that read their glossary from their repository rather than a stored one, each with the files it reads. These tools edit the stored glossaries. A Workflow listed in list_glossaries repositoryWorkflows reads docs/glossary.tbx or docs/glossary.csv on its repository's triggering commit instead, so its terms are edited in that file, through a pull request. Style setup's drafts pull request in the web app adds a missing style guide or context file, never a glossary file. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
glossariesYes
repositoryWorkflowsYesActive Workflows reading their glossary from their repository's files rather than a stored glossary

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / glossaries / items / properties / fetched / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "connection": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "name",
      -          "status"
      -        ],
      -        "type": "object"
      -      },
      -      "dataSource": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "title"
      -        ],
      -        "type": "object"
      -      },
      -      "lastAttempt": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "at": {
      -                "type": "string"
      -              },
      -              "outcome": {
      -                "enum": [
      -                  "fetched",
      -                  "failed"
      -                ],
      -                "type": "string"
      -              },
      -              "reason": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "at",
      -              "outcome",
      -              "reason"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "lastGoodFetchAt": {
      -        "description": "When its last good fetch started; null until one",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "mapping": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "sourceLocale": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "sourceLocale"
      -        ],
      -        "type": "object"
      -      },
      -      "omittedWarnings": {
      -        "type": "number"
      -      },
      -      "pendingMapping": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {
      -              "sourceLocale": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "sourceLocale"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "state": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "state"
      -        ],
      -        "type": "object"
      -      },
      -      "warnings": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "row": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "id": {
      -                  "type": "string"
      -                },
      -                "title": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "title"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "row"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "connection",
      -      "dataSource",
      -      "lastGoodFetchAt",
      -      "lastAttempt",
      -      "status",
      -      "mapping",
      -      "pendingMapping",
      -      "warnings",
      -      "omittedWarnings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": {},
      +        "properties": {
      +          "connection": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "name",
      +              "status"
      +            ],
      +            "type": "object"
      +          },
      +          "dataSource": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "title": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "title"
      +            ],
      +            "type": "object"
      +          },
      +          "lastAttempt": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "at": {
      +                    "type": "string"
      +                  },
      +                  "outcome": {
      +                    "enum": [
      +                      "fetched",
      +                      "failed"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "reason": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "at",
      +                  "outcome",
      +                  "reason"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "lastGoodFetchAt": {
      +            "description": "When its last good fetch started; null until one",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "mapping": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "sourceLocale": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "sourceLocale"
      +            ],
      +            "type": "object"
      +          },
      +          "omittedWarnings": {
      +            "type": "number"
      +          },
      +          "pendingMapping": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "sourceLocale": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceLocale"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "sourceKind": {
      +            "const": "notion",
      +            "description": "Its entries come from a Notion data source, through `connection`",
      +            "type": "string"
      +          },
      +          "status": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "state": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "state"
      +            ],
      +            "type": "object"
      +          },
      +          "warnings": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "row": {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "title"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "row"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "sourceKind",
      +          "connection",
      +          "dataSource",
      +          "mapping",
      +          "pendingMapping",
      +          "lastGoodFetchAt",
      +          "lastAttempt",
      +          "status",
      +          "warnings",
      +          "omittedWarnings"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": {},
      +        "properties": {
      +          "branch": {
      +            "type": "string"
      +          },
      +          "lastAttempt": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "at": {
      +                    "type": "string"
      +                  },
      +                  "outcome": {
      +                    "enum": [
      +                      "fetched",
      +                      "failed"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "reason": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "at",
      +                  "outcome",
      +                  "reason"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "lastFetchedCommitSha": {
      +            "description": "The commit its last good fetch read the file at; null until one",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "lastGoodFetchAt": {
      +            "description": "When its last good fetch started; null until one",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "omittedWarnings": {
      +            "type": "number"
      +          },
      +          "path": {
      +            "type": "string"
      +          },
      +          "pendingFile": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "branch": {
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "branch",
      +                  "path"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "A changed branch and path (set_glossary_file) awaiting their first good fetch"
      +          },
      +          "repository": {
      +            "additionalProperties": {},
      +            "description": "By GitHub’s repository id, which survives a rename",
      +            "properties": {
      +              "fullName": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "fullName"
      +            ],
      +            "type": "object"
      +          },
      +          "sourceKind": {
      +            "const": "repository",
      +            "description": "Its entries come from one TBX or CSV file of a GitHub repository, at `path` on `branch`",
      +            "type": "string"
      +          },
      +          "sourceLocale": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "additionalProperties": {},
      +            "description": "`needs_reconnect`: no GitHub App installation of the organisation can see the repository. `file_pending`: `pendingFile` awaits its first good fetch; `failed` with `filePending: true`: the fetch with it failed, keeping the current branch, path and entries",
      +            "properties": {
      +              "state": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "state"
      +            ],
      +            "type": "object"
      +          },
      +          "warnings": {
      +            "description": "Rows, columns or language sections of the file skipped or partly read",
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "message"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "sourceKind",
      +          "repository",
      +          "branch",
      +          "path",
      +          "pendingFile",
      +          "sourceLocale",
      +          "lastGoodFetchAt",
      +          "lastFetchedCommitSha",
      +          "lastAttempt",
      +          "status",
      +          "warnings",
      +          "omittedWarnings"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / glossaries / items / properties / fetched / description
      Previous value: -"A fetched glossary’s connection, data source, mapping and fetch status; null for a written one"New value: +"A fetched glossary’s source (by `sourceKind`: a Notion one’s connection, data source and mapping; a repository one’s repository, branch, path and source locale) and fetch status; null for a written one"
    • changedOutput schema / properties / glossaries / items / properties / origin / description
      Previous value: -"`fetched`: its entries are fetched from a Notion data source, and writes are refused"New value: +"`fetched`: its entries are fetched from a Notion data source or a repository’s glossary file, and writes are refused"
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed4 schema fields changed
    • addedOutput schema / properties / glossaries / items / properties / fetched
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connection": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "id": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "dataSource": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "id": {
      +              "type": "string"
      +            },
      +            "title": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "lastAttempt": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "at": {
      +                  "type": "string"
      +                },
      +                "outcome": {
      +                  "enum": [
      +                    "fetched",
      +                    "failed"
      +                  ],
      +                  "type": "string"
      +                },
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "at",
      +                "outcome",
      +                "reason"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "lastGoodFetchAt": {
      +          "description": "When its last good fetch started; null until one",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "mapping": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "sourceLocale": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "sourceLocale"
      +          ],
      +          "type": "object"
      +        },
      +        "omittedWarnings": {
      +          "type": "number"
      +        },
      +        "pendingMapping": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "sourceLocale": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "sourceLocale"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "status": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "state": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "state"
      +          ],
      +          "type": "object"
      +        },
      +        "warnings": {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "row": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "title"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "row"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "connection",
      +        "dataSource",
      +        "lastGoodFetchAt",
      +        "lastAttempt",
      +        "status",
      +        "mapping",
      +        "pendingMapping",
      +        "warnings",
      +        "omittedWarnings"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "A fetched glossary’s connection, data source, mapping and fetch status; null for a written one"
      +}
    • addedOutput schema / properties / glossaries / items / properties / lastGoodFetchAt
      Added value: +{
      +  "description": "A fetched glossary’s last good fetch; null until one, and for a written one",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / glossaries / items / properties / origin
      Added value: +{
      +  "description": "`fetched`: its entries are fetched from a Notion data source, and writes are refused",
      +  "enum": [
      +    "written",
      +    "fetched"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / glossaries / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "locales",
      -  "termCount",
      -  "repositoryManaged",
      -  "projects",
      -  "workflows"
      -]New value: +[
      +  "id",
      +  "name",
      +  "locales",
      +  "termCount",
      +  "repositoryManaged",
      +  "origin",
      +  "lastGoodFetchAt",
      +  "fetched",
      +  "projects",
      +  "workflows"
      +]
  4. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint/destructiveHint; the description adds substantial behavior beyond that — which glossaries reject writes, the GLOSSARY_FETCHED error and the recommended user-facing remedy, the meaning of `repositoryManaged`, `fetched.sourceKind`, `fetched.status`, and `repositoryWorkflows`. This is exactly the writability and mutation-failure context an agent needs before deciding to call a write tool next.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The front-loaded opening sentence is strong, but the text then becomes a dense run-on covering source kinds, error codes, workflow internals, and even a tangent about Style setup's pull request never adding a glossary file. The closing sentence about showing names instead of UUIDs is a general reply-format rule rather than information specific to invoking this tool, so it dilutes focus.

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?

For a no-parameter read tool with annotations and an output schema, the description covers everything an agent needs: what is returned, which results are writable, what error write attempts will produce, and how repository-backed workflows are edited. Nothing required for correct selection or follow-up action is missing.

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?

With zero input parameters there is nothing schema-wise to clarify, so the baseline is 4. The description instead spends its semantic effort on returned fields (`repositoryManaged`, `origin`, `fetched.sourceKind/status`), which adds meaning but is partly redundant with the output schema.

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?

The opening sentence gives a specific verb and resource ("List the organisation's glossaries") and enumerates what each item carries (id, name, locales, entry count, using Projects/Workflows). It is clearly a list operation and distinguishes the stored-glossary tools from repository-read workflows. It never names the singular sibling `list_glossary`, so the boundary with that tool is left implicit.

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?

The description goes well beyond listing: it explains that `repositoryManaged` glossaries refuse writes, that `fetched` glossaries come from Notion or a repository file and reject writes with GLOSSARY_FETCHED, and that terms in `repositoryWorkflows` are edited in the file via a pull request. That is clear guidance on what an agent should do with the results. It does not state when to prefer this tool over alternatives such as `list_glossary`, so it falls short of explicit when/when-not routing.

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.