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

I Just Ask - Joko UI (MCP Server)

by Gash21

fetch_and_implement_component

Fetch a Joko UI component and write it to a file in one step, adding production-ready Tailwind CSS components directly to your project.

Instructions

      Fetch component code from Joko UI repository and write it to a file.
      Combines fetch_component and implement_component in one step. Perfect
      for quickly adding Joko UI components to your project.
    

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>",
      "outputPath": "<outputPath>"
    },
    "name": "fetch_and_implement_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoDirect URL to component page (overrides componentId)
outputPathYesFile path to write component (e.g., ./src/components/Hero.tsx)
componentIdYesComponent ID (e.g., 'alerts', 'buttons', 'heroes', 'pricing')
createDirectoriesNoCreate parent directories if needed (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that code is fetched from a remote repository and written to outputPath. It says nothing about whether an existing file at outputPath is overwritten or an error, whether authentication to the Joko UI repository is required, or what happens on fetch failure. For a tool that performs both a network call and a filesystem write, these are material omissions.

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?

Three short sentences with the action front-loaded in the first one, and no repetition of the schema. The closing line ("Perfect for quickly adding Joko UI components to your project") is promotional filler rather than information, which keeps it out of 5 territory.

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?

With no output schema and no annotations, the description should have covered the return value (what a successful write reports) and the overwrite/failure semantics, and it covers neither. It is adequate for understanding the tool's job but incomplete for a mutation-plus-network tool with four parameters.

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%, with each of the four parameters (url, outputPath, componentId, createDirectories) documented inline in the schema, so the baseline is 3. The description adds no parameter-level meaning of its own; notably, it never mentions the url override or the createDirectories default, both of which are only visible in the schema.

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 compound action: fetch component code from the Joko UI repository and write it to a file at a given path. It also names the two siblings it replaces (fetch_component and implement_component), which is enough for an agent to distinguish it from those tools. It falls short of 5 because it never explains how it differs from get_component_code, which sits right next to it in the sibling list.

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?

"Combines fetch_component and implement_component in one step" implies the usage condition (you want both fetched and written), and "quickly adding Joko UI components to your project" sketches the scenario. But there is no explicit guidance on when to call the individual tools instead, e.g. when the file already exists and you only want the source, leaving the choice to inference.

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