Skip to main content
Glama

ShowOffer formats, presets and widgets

list_widgets
Read-only

Lists available report formats, presets, and widgets with their supported sizes, helping you choose valid options for GitHub scans and report rendering.

Instructions

Lists the report formats (card, social post, half page, one page, full report, dossier), the presets and every widget with the sizes it takes in each format, for the format, preset and widgets options of scan_github and render_report.

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

Input Schema

NameRequiredDescriptionDefault
formatNoOnly the widgets this format offers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real value beyond that by disclosing what the response contains — formats, presets, and per-format widget sizes — which is the key behavioral fact for a lookup tool with no output schema.

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?

One front-loaded sentence with the verb first and no filler. The parenthetical format enumeration is long but earns its place by previewing the return values; a slightly tighter break between what is listed and who consumes it would improve scanability.

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 zero-required-parameter, read-only enumeration tool with no output schema, the description covers what it returns, the format scoping, and the downstream consumers. Nothing an agent needs in order to call it correctly 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 coverage is 100% and the single `format` parameter already has an enum plus a description ("Only the widgets this format offers"). The description restates that the listing is scoped to a format but adds no syntax, default, or omission behavior beyond the schema, so the baseline 3 applies.

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?

"Lists the report formats ..., the presets and every widget with the sizes it takes in each format" gives a specific verb (lists) and enumerates the exact resources returned, including the concrete format names. It also ties the output to the `format`, `preset` and `widgets` options of scan_github and render_report, so an agent can tell this is the reference/enumeration tool rather than a renderer.

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 closing clause "for the format, preset and widgets options of scan_github and render_report" makes the intended use clear: consult this to learn valid values before calling those siblings. It stops short of an explicit "call this first" instruction or any when-not guidance, but the context is unambiguous.

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