Skip to main content
Glama

Look up a Kadal Deck feature

deck_reference
Read-onlyIdempotent

Look up what a deck can use — components with props, defaults and examples, layouts, backgrounds, themes, frontmatter keys, CLI commands — from the engine's own catalog (exact for @kadal/deck 0.13.0), plus the docs' guides. Use it to check a component or option before writing it; use authoring_guide instead for the overall how-to. Read-only. Pass one mode: nothing for an index of sections and guides, section (plus name for one entry), topic for a guide in full, or search for the best matches across both; if several are given, section wins, then topic. An unknown section, entry or topic is an error that lists the valid ones.

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

Input Schema

NameRequiredDescriptionDefault
nameNoOne entry in `section`, by name or alias, e.g. Poll, two-cols, aurora. Needs `section`.
topicNoA guide's topic id from the no-argument index, e.g. writing-slides, live-room, islands/vue.
formatNoFor `section` or `search`: markdown (default) reads best; json is the raw data. Guides are always markdown.
searchNoWords that must all appear, e.g. "word cloud"; returns up to 12 catalog entries and 5 guide sections.
sectionNoA catalog section: components, layouts, backgrounds, themes, transitions, transitionSpeeds, clickEffects, clickAt, codeMeta, deckFrontmatter, slideFrontmatter, keys, routes, queryParams, live, cli, exitCodes. Aliases such as slide, deck, clicks and code work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"For a section or search: markdown (default) reads best; json is the raw data."New value: +"For `section` or `search`: markdown (default) reads best; json is the raw data. Guides are always markdown."
    • changedInput schema / properties / name / description
      Previous value: -"One entry in the section, e.g. Poll, two-cols, aurora."New value: +"One entry in `section`, by name or alias, e.g. Poll, two-cols, aurora. Needs `section`."
    • changedInput schema / properties / search / description
      Previous value: -"Words to find, e.g. \"word cloud\"."New value: +"Words that must all appear, e.g. \"word cloud\"; returns up to 12 catalog entries and 5 guide sections."
    • changedInput schema / properties / section / description
      Previous value: -"A catalog section, e.g. components, layouts, backgrounds, slideFrontmatter."New value: +"A catalog section: components, layouts, backgrounds, themes, transitions, transitionSpeeds, clickEffects, clickAt, codeMeta, deckFrontmatter, slideFrontmatter, keys, routes, queryParams, live, cli, exitCodes. Aliases such as slide, deck, clicks and code work."
    • changedInput schema / properties / topic / description
      Previous value: -"A guide's topic id, e.g. live-room."New value: +"A guide's topic id from the no-argument index, e.g. writing-slides, live-room, islands/vue."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, but the description adds real context: the catalog is exact for @kadal/deck 0.13.0, guides return full text, search caps at 12 entries and 5 guide sections, and an unknown section/entry/topic is an error listing valid values. Repeating 'Read-only' is minor redundancy rather than added value.

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?

Front-loaded with purpose, then alternatives, then mode mechanics; every clause carries operational information. It is dense and backtick-heavy in a single paragraph, which costs a little readability, but there is no filler to cut.

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?

Five optional parameters, no output schema, yet the description covers all invocation shapes (index, section, topic, search), the resolution order, the return formats, result caps, and unknown-name error behavior. Nothing an agent needs to call this correctly 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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by explaining the mode-selection semantics: no argument yields an index, `section` plus `name` targets one entry, `topic` returns a guide, `search` spans both, and conflicts resolve in a stated order. That interaction between optional parameters is not expressible in the schema alone.

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?

States a specific verb and a concrete resource set: 'Look up what a deck can use — components with props, defaults and examples, layouts, backgrounds, themes, frontmatter keys, CLI commands'. It also names the sibling it is not ('use authoring_guide instead for the overall how-to'), so an agent can separate lookup from how-to guidance without opening any 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 an explicit when-to-use ('check a component or option before writing it') and an explicit alternative with its own condition ('authoring_guide instead for the overall how-to'). It further routes internal modes with a precedence rule ('if several are given, `section` wins, then `topic`'), leaving nothing to inference.

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.