Skip to main content
Glama

deployments_invoke

Invoke a deployment by sending a user message with optional JSON inputs, context, and metadata to run the configured deployment and return its response.

Instructions

Invoke a deployment

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": {
      "key": "<key>",
      "message": "<message>"
    },
    "name": "deployments_invoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesDeployment key
messageYesUser message
inputs_jsonNoJSON inputs
context_jsonNoJSON context: {environments, ...}
metadata_jsonNoJSON metadata

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not whether the invocation is synchronous or queued, not what happens to existing deployments, not permission requirements, not what the call returns. The phrase 'Invoke a deployment' only restates the name.

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

Conciseness2/5

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

At four words the description is not verbose, but it is under-specified rather than concise — there is no structure or front-loaded context because there is essentially no content. Brevity here costs the agent information it needs.

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

Completeness1/5

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

A five-parameter action tool with two required fields, no annotations, and no output schema needs the description to explain side effects and return behavior. Instead it provides only the title, leaving the agent unable to judge what calling it will do or how to interpret the result.

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 the schema already documents key, message, inputs_json, context_json, and metadata_json. The description adds no meaning beyond that — notably nothing about how inputs_json and context_json interact or what shape 'invoke' expects. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb and resource ('Invoke a deployment'), so the agent knows it triggers something on a deployment. But it never explains what 'invoke' actually does here — run a job, execute a version, fire a webhook — and gives no differentiation from the sibling invoke tools such as agents_invoke or evals_invoke.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite (e.g., a deployment must exist or be configured), and no hint about when to prefer agents_invoke or evals_invoke instead. The agent must infer all routing from the tool name alone.

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

Deploy Server

Other Tools