Skip to main content
Glama

List style guides

list_style_guides
Read-only

List the texts of a style guide Asset by its assetId (from list_assets): the locale of each (none for a global Asset) and the length of its instructions in characters. With project (still accepted for an existing Project) it lists which target languages of the project have a style guide, with the guide id and its length. The instructions themselves are not included; get_style_guide returns one text's full instructions. These tools edit the stored Assets. A Workflow listed in list_assets repositoryWorkflows reads docs/style-guides/.md and docs/context.md on its repository's triggering commit instead, so those are edited in its files, through a pull request. A missing context file, or style guide file of a declared target language, is added in the web app by Style setup ("Draft style guides" on the Workflow's page), whose drafts pull request only adds files. 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_style_guides"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdNoId of a style guide Asset, from list_assets. Pass this or project, not both.
projectNoProject id (UUID) or slug — still accepted for an existing Project's attached Asset. Pass this or assetId, not both.

Output Schema

NameRequiredDescriptionDefault
styleGuidesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. Changed8 schema fields changed
    • addedInput schema / properties / assetId
      Added value: +{
      +  "description": "Id of a style guide Asset, from list_assets. Pass this or project, not both.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • changedInput schema / properties / project / description
      Previous value: -"Project id (UUID) or slug"New value: +"Project id (UUID) or slug — still accepted for an existing Project's attached Asset. Pass this or assetId, not both."
    • removedInput schema / required
      Removed value: -[
      -  "project"
      -]
    • removedOutput schema / properties / styleGuides / items / additionalProperties
      Removed value: -{}
    • addedOutput schema / properties / styleGuides / items / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "characterCount": {
      +        "description": "Length of the instructions, in characters",
      +        "type": "number"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "projectId": {
      +        "type": "string"
      +      },
      +      "targetLanguage": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "id": {
      +            "description": "project_language id",
      +            "type": "string"
      +          },
      +          "locale": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "locale",
      +          "name"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "projectId",
      +      "targetLanguage",
      +      "characterCount"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "assetId": {
      +        "type": "string"
      +      },
      +      "characterCount": {
      +        "description": "Length of the instructions, in characters",
      +        "type": "number"
      +      },
      +      "locale": {
      +        "description": "By assetId only: the locale of the text; null for a global Asset",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "updatedAt": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "assetId",
      +      "locale",
      +      "characterCount",
      +      "updatedAt"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / styleGuides / items / properties
      Removed value: -{
      -  "characterCount": {
      -    "description": "Length of the instructions, in characters",
      -    "type": "number"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "projectId": {
      -    "type": "string"
      -  },
      -  "targetLanguage": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "id": {
      -        "description": "project_language id",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "locale",
      -      "name"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / properties / styleGuides / items / required
      Removed value: -[
      -  "id",
      -  "projectId",
      -  "targetLanguage",
      -  "characterCount"
      -]
    • removedOutput schema / properties / styleGuides / items / type
      Removed value: -"object"
  3. Changed3 schema fields changed
    • addedOutput schema / properties / styleGuides / items / properties / characterCount
      Added value: +{
      +  "description": "Length of the instructions, in characters",
      +  "type": "number"
      +}
    • removedOutput schema / properties / styleGuides / items / properties / instructions
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / styleGuides / items / required
      Previous value: -[
      -  "id",
      -  "projectId",
      -  "targetLanguage",
      -  "instructions"
      -]New value: +[
      +  "id",
      +  "projectId",
      +  "targetLanguage",
      +  "characterCount"
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real behavior: only lengths are returned, project mode reports which target languages have a guide plus guide ids, and the underlying Assets are edited by the sibling mutation tools. The line 'These tools edit the stored Assets' is slightly ambiguous inside a read-only tool's description, costing a point.

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 core behavior is front-loaded and clear, but the paragraph then drifts into Workflow file locations, web-app Style setup, pull-request draft behavior, and a reply-formatting rule about not showing UUIDs. Those are useful context but pad a two-parameter listing tool well past what the caller needs to invoke it.

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 exists, so return values needn't be spelled out, and the description nonetheless characterizes both result shapes. Combined with the alternative-tool routing and the workflow exception, an agent has enough to call this correctly; only the trailing formatting/setup digressions are surplus rather than 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?

Schema coverage is 100%, so the baseline is 3, but the description goes further by explaining what each mode yields (per-locale texts and lengths for assetId; per-target-language guide ids and lengths for project) and where assetId values come from. That is meaning the schema does not carry.

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?

Opens with a specific verb and resource ('List the texts of a style guide Asset by its assetId') and states exactly what is returned: each locale and the length of its instructions. It also explicitly separates itself from get_style_guide ('The instructions themselves are not included'), so an agent can pick between the two without opening a schema.

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

Usage Guidelines5/5

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

Gives the two mutually exclusive invocation modes (assetId from list_assets, or project for project-level coverage) and routes to get_style_guide for full instruction text. It also carves out the case where this tool does not apply — Workflow-backed guides read from docs/style-guides/<locale>.md — and says how those get created via Style setup.

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.