Skip to main content
Glama
I Just Ask - Joko UI (MCP Server)

I Just Ask - Joko UI (MCP Server)

by Gash21

fetch_component

Fetches complete source code for any Joko UI component directly from the GitHub repository so you can retrieve production-ready Tailwind CSS code for a specified component ID or page URL.

Instructions

Fetch actual component code from Joko UI repository. This tool fetches the complete source code for any component directly from the GitHub repository. Use this to get the latest, production-ready code.

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

Input Schema

NameRequiredDescriptionDefault
urlNoDirect URL to component page. Use this if componentId doesn't work.
componentIdNoComponent ID (e.g., 'alerts', 'buttons', 'heroes')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It reveals that content comes from a remote GitHub repository, but says nothing about authentication, rate limits, what happens when a component is not found, or whether the url/componentId fallback can fail — all relevant for a network-backed fetch.

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?

Purpose is front-loaded, but the middle sentence largely restates the first ('fetches the complete source code' vs 'Fetch actual component code'), and the final sentence repeats the 'latest code' idea. Roughly half the text is redundant padding.

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

Completeness3/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 should characterize the return value; 'complete source code' gives a partial answer but does not say whether it is a single file, multiple files, or raw text. For a low-risk two-parameter read tool this is adequate but not complete.

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%, including the note that url is a fallback when componentId fails, so the schema already does the parameter work. The description adds no extra meaning about precedence, accepted ID formats, or what url accepts beyond what the schema states.

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?

States a specific verb and resource ('Fetch actual component code from Joko UI repository') and clarifies the source is GitHub. It does not distinguish itself from close siblings like get_component_code or fetch_and_implement_component, so an agent cannot tell from the description alone which fetch tool to pick.

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 this to get the latest, production-ready code' implies a usage context (wanting current source rather than a stub or implementation helper). There is no explicit when-not guidance and no named alternative, which matters given four sibling tools with overlapping fetch/implement semantics.

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