Skip to main content
Glama

Get Better Widget Guide

get-widget-guide
Read-onlyIdempotent

Generates a widget scaffold and build guidance from your goal, inputs, and widget type. Use it to plan calculators, estimators, or article widgets before coding.

Instructions

Return widget guidance/scaffold for the supplied goal and inputs. Use for calculators and article widgets.

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": "get-widget-guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
inputsNo
resultNo
contextNo
userGoalNo
maxTokensNo
dataSourceNo
urlPatternNo
widgetTypeNo
interactionNo
uniqueValueNo
hostFrameworkNo
visualContextNo
transformationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds essentially no behavior beyond that: it does not say what form the scaffold takes, whether it is generated or retrieved, how large the output is, or how maxTokens affects it.

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?

Two short sentences, front-loaded with the action, with no filler wording. The problem is under-specification rather than verbosity: the text is too thin for a 14-parameter tool, so its brevity does not earn its place as an adequate definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 14 optional parameters, two enums, no output schema and no parameter descriptions, this is a complex tool whose definition explains almost nothing. An agent could not reliably populate widgetType versus format, or know what a valid scaffold request looks like, from this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 14 parameters, so the description carries the full explanatory burden and largely fails it. It mentions only "goal and inputs", leaving widgetType, format, dataSource, urlPattern, hostFramework, transformation, interaction, uniqueValue, visualContext, context, result and maxTokens entirely unexplained in both schema and prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb ("Return") and a resource ("widget guidance/scaffold"), and the phrase "for calculators and article widgets" narrows the domain. However, "guidance/scaffold" is a dual, ambiguous object – it is unclear whether the tool returns prose advice, code, or a template – and nothing distinguishes it from the many sibling guide tools beyond the widget subject matter.

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

Usage Guidelines3/5

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

"Use for calculators and article widgets" gives an implied usage context, which is more than nothing. But there are no exclusions, no prerequisites, and no routing to alternatives such as get-illustration-guide or get-jig-guide when the goal is not a widget.

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