Skip to main content
Glama
danielproxd2

MCP_CAD

by danielproxd2

record_macro_job

Record an AI-authored VBA macro for SOLIDWORKS tasks outside the standard verb catalog. Review the generated source to approve it for execution.

Instructions

Registra un MacroJob: código VBA escrito por la IA para ejecutarse vía RunMacro2. CRUZA la restricción #2 (API arbitraria de SolidWorks) a propósito, para cubrir tareas fuera del catálogo de verbos. Solo asesoría: NO ejecuta nada. La REVISIÓN HUMANA de generated_source aquí es la aprobación; luego ejecútalo con run_macro_job.

Args: intent: Una oración: ¿qué hace la macro? generated_source: el cuerpo VBA completo (un Sub main, salvo proc_name). Solo formato .swb (texto plano VBA7). proc_name: el Sub de entrada (por defecto 'main'). provenance: {source_kind?: authored|template|recorded, template_id?, generated_by?, notes?} — para auditoría. confidence: 0–10 (afecta go_recommendation).

Devuelve {macro_job_id, source_preview, line_count, proc_name, warnings, risky, go_recommendation}. '' en el código BLOQUEA run_macro_job. [en: Record an AI-authored VBA macro job — advisory only; reviewing the source IS the approval. Crosses constraint #2 by design.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentYes
proc_nameNomain
confidenceNo
provenanceNo
assumptionsNo
generated_sourceYes
Behavior5/5

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

With no annotations, the description fully carries the burden of behavioral disclosure. It states the tool records only, does not execute, requires human review of generated_source, and that '<required>' in code blocks run_macro_job. No contradictions.

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 description is somewhat lengthy but well-structured with a purpose paragraph and an args list. It is front-loaded with critical information. Every sentence adds value, though it could be slightly more concise.

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?

Given 6 parameters, no output schema, and no annotations, the description covers the tool's purpose, parameters (except assumptions), return object, and workflow. It is sufficiently complete for a recording/advisory tool, though error handling is omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds detailed meaning for most parameters (intent, generated_source, proc_name, provenance, confidence) beyond the schema (which has 0% description coverage). However, the 'assumptions' parameter is not explained, leaving a minor gap.

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 clearly states the tool records an AI-authored VBA macro job for execution via RunMacro2. It distinguishes itself from sibling tools like run_macro_job by emphasizing it is advisory only and crosses constraint #2 for tasks outside the verb catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use this tool (for tasks outside the standard verb catalog) and when not to use it (it does not execute; instead, use run_macro_job after human review). It also explains the approval workflow, making it clear how to proceed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielproxd2/solidworks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server