Skip to main content
Glama

Duck Framework MCP

get_component_api

Look up a built-in Duck Framework component API. Returns the confirmed import path, container type, and supported keyword arguments for a component without requiring the full HTML components guide to be loaded. Use this before using any component that has not already been confirmed. Returns close-name suggestions when the component does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
component_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it delivers: it discloses the return payload fields and the failure behavior (close-name suggestions when the component doesn't exist). What it omits is whether this is strictly a read-only lookup or whether it touches a live index/network, which would matter for a tool with zero annotation coverage.

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?

Four short sentences with the capability stated first and the usage rule second; nothing is padding. Slight redundancy between 'without requiring the full HTML components guide' and the following usage sentence keeps it from a 5.

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?

There is no output schema, so the description correctly spells out the return shape (import path, container type, keyword args) and the miss behavior, which is what an agent needs to consume results. The remaining gap is the accepted format of the component name input.

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?

The single parameter `component_name` has 0% schema description coverage, so the description must compensate. It hints at exact-name semantics by warning that close-name suggestions appear on miss, but it never states formatting rules such as exact spelling, casing, or whether category prefixes are accepted.

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 resource ('look up a built-in Duck Framework component API') and enumerates exactly what comes back: import path, container type, and supported keyword arguments. This clearly separates it from doc-search siblings like search_docs or fetch_ai_guide, which retrieve prose rather than a confirmed API record.

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?

'Use this before using any component that has not already been confirmed' is an explicit when-to-use rule, and the second sentence implies the alternative (loading the full HTML components guide) is heavier. No explicit when-not or named sibling alternative, so it stops short of a 5.

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.