Skip to main content
Glama

Call a connection's API

call_connection
Destructive

Calls the HTTP API of a third party that the organization declared as a connection (its name and domain: list_connections), on its base address, within its rules and limits; while adds the authentication and keeps a record of the call.

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": {
      "connection": "<connection>"
    },
    "name": "call_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body: an object (sent as JSON) or text.
callNoId of a held call: its state and, once run, its result.
pathNoPath at the provider, with its query string: /api/v1/slots?site=origines.
typeNoType of the body (Content-Type), if it is not JSON.
methodNoHTTP method.GET
connectionYesConnection name (list_connections).
organizationNoThe organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag open-world, destructive, non-idempotent behavior, so the description's added value is that authentication is injected automatically and every call is recorded. That is real context an agent would otherwise have to guess, though error handling and rate-limit behavior remain unspecified.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, but the clause 'while adds the authentication and keeps a record of the call' is grammatically broken and slightly muddles the two behavioral facts it is trying to convey.

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 7-parameter, destructive, open-world tool with no output schema, the description should say at least what is returned or that calls can be held and polled via the 'call' parameter. That async/held-call mechanic is only hinted at in the schema, not the description.

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 parameters are already documented, and the description only repeats the connection-name pointer to list_connections. It adds no syntax, coupling (path plus query string) or precedence information beyond the schema.

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?

States a specific verb and resource: calls the HTTP API of a third-party connection declared by the organization, and points to list_connections for the name/domain. An agent can distinguish it from list/declare/update_connection, though it doesn't contrast with other action tools.

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 implied rather than stated: the agent infers it must first resolve the connection via list_connections, and that the call is subject to the connection's rules and limits. There is no explicit when-not guidance or statement of prerequisites beyond the parenthetical reference.

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