Skip to main content
Glama

cs_venus_resolve

Resolves UI element names to exact Venus component names, props, imports, and usage examples, helping AI agents implement Contentstack Marketplace app interfaces after scaffolding.

Instructions

Step 7 of the create workflow. Resolves UI element names to exact Venus component names, props, imports, and usage examples. Call after cs_scaffold, before cs_verify. Input: { ui_elements: string[], project_path?: string } Output: { resolutions: VenusResolution[], combined_import: string }

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": {
      "ui_elements": "<ui_elements>"
    },
    "name": "cs_venus_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
ui_elementsYesList of UI elements needed, e.g. ['search input', 'data table', 'action button', 'loading skeleton']
project_pathNoOptional project root path to look for venus-components stories locally

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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, and it does disclose the output shape (resolutions plus combined_import) and the workflow position. However, it doesn't say whether the tool performs local filesystem lookups, requires network access, is read-only, or what happens when an element has no match — significant gaps for a tool whose name suggests resolution against an external component library.

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, front-loaded lines: workflow position and purpose first, then input and output signatures. The input restatement largely duplicates the schema, which is mild waste, but the output line earns its place because no output schema exists.

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 documenting the return shape (resolutions plus combined_import) is genuinely necessary and present. The remaining gap is behavioral — no statement of side effects, failure modes, or whether unresolved elements error out — which matters for a step 7 resolution tool feeding a verify step.

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% and both parameters are documented in-schema with a concrete example for ui_elements and a purpose statement for project_path. The description's input line merely restates the signature, adding no syntax, format, or edge-case meaning beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb and resource — resolves UI element names to exact Venus component names, props, imports, and usage examples — and pins its position as step 7 of the create workflow. The verb (resolve) and the described output clearly distinguish it from siblings like cs_scaffold, cs_verify, and cs_plan.

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?

It gives explicit sequencing: call after cs_scaffold and before cs_verify, which tells the agent when in the workflow this applies. What's missing is any when-not guidance or treatment of re-running, skipping, or failure paths, so it falls short of a full 5.

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