Skip to main content
Glama

Run integration

run_integration

Runs a single authorized integration operation with scope checks, approval gates, timeouts, rate limits, hash-verified evidence, and audit logging; manual-only integrations return a handoff failure.

Instructions

Execute one integration operation inside authorized engagement scope.

The pipeline validates scope, enforces approval for intrusive/sensitive operations, applies timeouts and rate limits, stores hash-verified evidence, normalizes results and writes an audit record. Manual-only integrations return an honest handoff failure instead of running.

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": {
      "tool": "<tool>",
      "operation": "<operation>",
      "target": "<target>",
      "engagement_id": "<engagement_id>"
    },
    "name": "run_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYes
paramsNo
targetYes
kind_hintNo
operationYes
approval_idNo
engagement_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses the whole execution envelope: scope validation, approval gating for intrusive/sensitive operations, timeouts and rate limits, hash-verified evidence storage, result normalization, and audit logging. It also explains a non-obvious failure mode where manual-only integrations return a handoff failure rather than executing.

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?

Four short sentences, front-loaded with the action and scope, then the pipeline behavior. Little waste, though the pipeline sentence is a dense list that could be trimmed without losing meaning.

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?

An output schema exists, so return values need not be explained, and the behavioral pipeline is well covered. However, for a generic dispatcher with 7 undocumented parameters, the definition omits the essential mechanics of specifying tool, operation, and params, which is the main thing an agent needs.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, and the description names none of them. It only obliquely gestures at engagement_id ("authorized engagement scope") and approval_id ("enforces approval"), leaving tool vs operation, the free-form params object, and kind_hint entirely undefined in both schema and prose.

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

Purpose4/5

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

"Execute one integration operation inside authorized engagement scope" gives a specific verb (execute) and resource (integration operation), scoping it to an engagement. It is distinguishable from read-oriented siblings like integration_describe/integration_status, but it never explicitly says so; the differentiation is inferred from the verb.

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?

Usage is only implied: the tool executes operations and manual-only integrations fail with a handoff instead of running, which hints at a fallback path. There is no guidance on when to call this versus integration_describe/integration_status first, nor any prerequisite such as discovering valid tool/operation values before dispatch.

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