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

I Just Ask - Joko UI (MCP Server)

by Gash21

implement_component

Writes component source code to a specified project file and creates parent directories as needed, saving fetched or generated Tailwind components directly into your project.

Instructions

Write component code to a file in your project. Use this after fetching code or generating it to save it to your project directory. Automatically creates parent directories if needed.

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": {
      "code": "<code>",
      "outputPath": "<outputPath>"
    },
    "name": "implement_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe component source code to write to file
outputPathYesFile path (e.g., ./src/components/Hero.tsx, ./components/Button.tsx)
createDirectoriesNoCreate parent directories if they don't exist (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that parent directories are created automatically, but it never states whether an existing file at outputPath is overwritten, what permissions or auth are needed, or what the tool returns. For a file-mutation tool, the overwrite question is a significant undisclosed trait.

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, front-loaded with the core action before the usage hint. Slight redundancy between 'write to a file in your project' and 'save it to your project directory,' but nothing is padded.

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?

The tool is simple and fully parameterized, but with no annotations and no output schema, the description should say more about what happens on write—especially overwrite behavior and what the agent gets back. It covers the basic mechanics but leaves that mutation-semantics gap for a tool with zero annotation coverage.

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%, so all three parameters are already documented in the input schema. The description's mention of automatic parent-directory creation maps to createDirectories but adds nothing beyond the schema's own default description. Baseline 3 applies.

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: 'Write component code to a file in your project.' It also implicitly separates itself from the fetch siblings by saying to use it 'after fetching code or generating it.' It does not name a specific sibling, so it falls short of the top mark.

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?

Gives clear sequencing guidance ('use this after fetching code or generating it to save it to your project directory'), which tells the agent when in a workflow to call it. It offers no explicit when-not condition and does not mention fetch_and_implement_component, which plausibly covers the same write step combined with fetching.

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