Skip to main content
Glama

Apideck MCP

execute_tool

Invoke a tool by name. input is validated against the target schema before dispatch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesExact tool name to invoke (e.g. "accounting-invoices-create"), as returned by list_tools.
inputNoArguments object validated before being forwarded to the target tool. Its shape matches that tool's input schema (fetch it with describe_tool_input). Omit for tools that take no arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"Arguments object forwarded verbatim to the target tool. Its shape matches that tool's input schema (fetch it with describe_tool_input). Omit for tools that take no arguments."New value: +"Arguments object validated before being forwarded to the target tool. Its shape matches that tool's input schema (fetch it with describe_tool_input). Omit for tools that take no arguments."
  2. Changed7 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / input / additionalProperties
      Added value: +{}
    • addedInput schema / properties / input / description
      Added value: +"Arguments object forwarded verbatim to the target tool. Its shape matches that tool's input schema (fetch it with describe_tool_input). Omit for tools that take no arguments."
    • addedInput schema / properties / input / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / input / type
      Added value: +"object"
    • addedInput schema / properties / name / description
      Added value: +"Exact tool name to invoke (e.g. \"accounting-invoices-create\"), as returned by list_tools."
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "input"
      -]New value: +[
      +  "name"
      +]
  3. Changed4 schema fields changed
    • removedInput schema / properties / arguments
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "Arguments for the target tool as a JSON object, matching the schema returned by describe_tool_input.",
      -  "properties": {},
      -  "type": "object"
      -}
    • addedInput schema / properties / input
      Added value: +{}
    • removedInput schema / properties / name / description
      Removed value: -"The name of the tool to execute"
    • changedInput schema / required
      Previous value: -[
      -  "name"
      -]New value: +[
      +  "name",
      +  "input"
      +]
  4. Changed5 schema fields changed
    • addedInput schema / properties / arguments
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Arguments for the target tool as a JSON object, matching the schema returned by describe_tool_input.",
      +  "properties": {},
      +  "type": "object"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "additionalProperties": {},
      -  "description": "Input parameters for the tool as a JSON object",
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "The name of the tool to execute",
      +  "type": "string"
      +}
    • removedInput schema / properties / tool_name
      Removed value: -{
      -  "description": "The name of the tool to execute",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "tool_name"
      -]New value: +[
      +  "name"
      +]
  5. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=false and readOnlyHint=false, and the description adds a genuinely useful trait: input is validated against the target schema before dispatch. However, it does not warn that this dispatcher can trigger destructive write operations in downstream tools (which sits awkwardly with destructiveHint=false) or how errors are surfaced.

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?

Two short sentences, no filler, with the core action front-loaded and the validation behavior following. Nothing could be trimmed without losing information.

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?

For a meta-dispatch tool with a nested free-form input object and no output schema, the description omits what the caller gets back (raw result vs wrapped envelope) and how downstream failures are reported. The pre-dispatch validation note is helpful but the behavioral picture is incomplete.

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 well documented inline (exact tool name, arguments shape, omit for no-arg tools). The description adds no parameter detail beyond the schema, so the baseline 3 is appropriate.

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?

States a specific verb (Invoke) and resource (a tool by name), and the second sentence clarifies the dispatch semantics. It is clearly distinguishable from list_tools, describe_tool_input and list_scopes, which enumerate rather than execute.

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?

Implicitly the entry point for actually running a tool discovered via list_tools, but the description gives no explicit when-to-use or when-not guidance and does not name the alternative patterns (e.g. that discovery should precede execution). Usage is inferable only from context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources