Skip to main content
Glama

run_custom_tool

Execute custom tools defined in project configuration by passing tool names and arguments to replace placeholders, enabling AI agents to interact with VS Code.

Instructions

Execute a custom tool defined in project configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNameYesName of the custom tool to run
argsNoArguments to pass to the custom tool (replaces {{key}} placeholders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, and the description only says 'Execute' with no disclosure of behavioral traits such as side effects, permissions, or error handling. This leaves the agent with insufficient behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence that front-loads the core purpose without any wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description only states purpose but lacks details on prerequisites, return values, or execution context. Given the tool runs arbitrary custom code, more context is needed for safe invocation.

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 baseline is 3. The description does not add meaning beyond the parameter descriptions already in the schema, which adequately document toolName and args.

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 executes a custom tool defined in project configuration, using a specific verb 'Execute' and resource 'custom tool defined in project configuration', distinguishing it from sibling tools like run_command or run_javascript.

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?

The description implies usage when a custom tool is configured, but provides no explicit guidance on when to use alternatives or when not to use this tool.

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