Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

connect_ai_system

Connect the customer chatbot/agent and return its capability handshake. Use for an AI System connection; not for a raw adapter probe or behavior authoring. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, name, systemType, adapterType, adapterVersion. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This changes governed state and remains fail-closed behind server authorization and an auditable receipt.

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": {
      "name": "<name>",
      "systemType": "<systemType>",
      "adapterType": "<adapterType>",
      "adapterVersion": "<adapterVersion>"
    },
    "name": "connect_ai_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDocumented name input for connect_ai_system; use the published type and keep customer data within the authenticated scope.
configNoDocumented config input for connect_ai_system; use the published type and keep customer data within the authenticated scope.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
systemTypeYesDocumented systemType input for connect_ai_system; use the published type and keep customer data within the authenticated scope.
adapterTypeYesDocumented adapterType input for connect_ai_system; use the published type and keep customer data within the authenticated scope.
capabilitiesNoDocumented capabilities input for connect_ai_system; use the published type and keep customer data within the authenticated scope.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
adapterVersionYesDocumented adapterVersion input for connect_ai_system; use the published type and keep customer data within the authenticated scope.
idempotencyKeyNoImmutable idempotencyKey reference used to bind this connect_ai_system operation to the correct released or persisted resource.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Given annotations only declare it is a non-read-only, non-destructive, non-idempotent closed-world write, the description adds substantial context: it mutates governed state, is fail-closed behind server authorization, produces an auditable receipt the caller should inspect, and enforces tenant scope matching from the authenticated session. It also notes unknown fields are rejected, which is real behavioral information beyond the annotation set.

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?

Scope, exclusions, prerequisites, and constraints are front-loaded and every sentence carries content. It is dense but readable; the required-fields enumeration is the one segment that costs more than it delivers because it is inaccurate and redundant with the schema.

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?

For a 10-parameter, nested-object mutation with no output schema, the description covers the return shape (capability handshake), authorization posture, receipt handling, and scope rules. It leaves config, capabilities, and idempotencyKey semantics to the schema, which is acceptable given full schema coverage, but the incorrect required list is a real completeness defect.

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?

The description asserts "Required fields: organizationId, projectId, environmentId, name, systemType, adapterType, adapterVersion," but the schema's required array contains only name, systemType, adapterType, and adapterVersion. That mismatch actively misleads about which parameters must be supplied. It does add useful meaning about scope identifiers matching the authenticated session, but the required-field error outweighs that against a 100%-covered schema.

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?

"Connect the customer chatbot/agent and return its capability handshake" gives a specific verb, resource, and outcome. It also explicitly excludes raw adapter probing and behavior authoring, so the agent can distinguish this from siblings like list_ai_systems or list_capabilities without opening a schema.

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

Usage Guidelines4/5

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

It states both when to use it (AI System connection) and when not to (raw adapter probe, behavior authoring), plus a sequencing gate: use only after resource and authority prerequisites are satisfied. The gap is that those prerequisites are referenced abstractly as "preceding" rather than named, leaving the agent to infer which prior calls satisfy them.

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