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

I Just Ask - Joko UI (MCP Server)

by Gash21

get_component_code

Retrieve copy-paste React/TSX code for a Joko UI component, including imports and responsive Tailwind CSS classes, to add it directly to your project.

Instructions

Get React/TSX code for a specific Joko UI component. Returns production-ready, copy-paste component code that you can use directly in your Tailwind CSS project. Includes all necessary imports and responsive classes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "componentId": "<componentId>"
    },
    "name": "get_component_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoOutput language format (default: tsx)tsx
componentIdYesComponent ID (e.g., 'alerts', 'buttons', 'heroes', 'pricing')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does disclose return characteristics (includes all necessary imports and responsive classes, Tailwind-ready), which is genuinely useful context beyond the name. It says nothing about permissions, rate limits, or whether missing/invalid component IDs error versus return empty, so coverage is partial.

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?

The purpose and return value are front-loaded in the first sentence, with supporting detail after. The wording is slightly padded ('that you can use directly', repeated framing of copy-paste readiness) but nothing is confusing or misplaced.

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?

For a simple two-parameter read tool with full schema coverage and no output schema, the description supplies the key missing piece: what the returned code looks like and what it includes. The remaining gap is disambiguation from similar sibling fetch tools, which matters given four adjacent names.

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%, so both parameters are already documented, including an enum and default for 'language'. The description adds no format or usage detail for componentId or language beyond what the schema provides, which is the expected baseline case.

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?

The description opens with a specific verb and resource ('Get React/TSX code for a specific Joko UI component') and clarifies the output form (production-ready, copy-paste, with imports and responsive classes). It does not, however, distinguish itself from close siblings like fetch_component or implement_component, leaving the agent to guess which fetcher to call.

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?

Usage is only implied through the phrase 'use directly in your Tailwind CSS project', which suggests a retrieval-for-manual-integration scenario. There is no explicit when-to-use/when-to-avoid guidance and no mention of the alternative sibling tools that perform similar fetching or implementation.

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