Skip to main content
Glama

List style guides and contexts

list_assets
Read-only

List the organisation's style guide and context Assets, optionally of one type: each with its id (the assetId the style guide tools and set_project_context take), name, type, scope (global: one text for every language; per_locale: a text per locale), the locales it holds a text for, and the Projects and active Workflows using it, by name. A context's texts are included (each at most 1000 characters); a style guide's are not — get_style_guide reads one. repositoryManaged is set on an Asset a repository-sourced project syncs from its asset repository, which refuses every write. repositoryWorkflows lists the active Workflows that read their style guides or context from their repository rather than stored Assets, each with the files it reads. 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. A Workflow's own context (get_workflow) is part of its definition and changes only by publishing a new version, not through these tools. 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_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOnly Assets of this type: style_guide or context

Output Schema

NameRequiredDescriptionDefault
assetsYes
repositoryWorkflowsYesActive Workflows reading their style guides or context from their repository's files rather than stored Assets

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. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description still adds real behavioral value with the 1000-character truncation on context texts, the repositoryManaged write-refusal semantics, and the repositoryWorkflows concept. Deducted because the reporting conventions at the end ('never show ids to the user') are output-formatting policy rather than tool behavior.

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 purpose is front-loaded in the first sentence, but the description is a dense, run-on block mixing three concerns: what is returned, where repository-based Workflows must be edited instead, and how to phrase ids/locales in user replies. The Style setup / draft style guide paragraph is tangential to listing and dilutes the core call guidance.

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?

An output schema exists, yet the description still explains the semantically non-obvious return fields (scope global vs per_locale, repositoryManaged, repositoryWorkflows), which is exactly what an agent needs to interpret results correctly for a read-only listing tool. Nothing needed to call or read the result is missing.

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% and the single type parameter already carries an enum plus a description, so the schema does the heavy lifting. The description's 'optionally of one type: style_guide or context' merely restates it, adding no syntax, default, or filtering nuance beyond the 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 description states a specific verb and resource ('List the organisation's style guide and context Assets') with explicit scope ('optionally of one type') and enumerates what each result carries (id/assetId, name, type, scope, locales, using Projects/Workflows). It also explicitly distinguishes itself from get_style_guide ('a style guide's [texts] are not — get_style_guide reads one'), but never mentions the overlapping sibling list_style_guides, so the differentiation is incomplete.

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?

It routes the agent well on downstream actions: pointing to get_style_guide for texts, get_workflow for a Workflow's own context, and explaining that repository-sourced Workflows are edited via pull request rather than these tools. It gives clear context for when the returned fields matter, but stops short of an explicit 'use this when you need to resolve a name to an assetId' statement.

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.