Skip to main content
Glama

Read a connection's API

read_connection
Read-onlyIdempotent

Reads the HTTP API of a third party the organization declared as a connection: GET, or POST with body on a path it declares as a read; nothing else goes out. Its rights, rules and function apply; while adds the authentication and keeps a trace 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>",
      "path": "<path>"
    },
    "name": "read_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoOnly on a path declared as a read (POST): an object (sent as JSON) or text.
pathYesPath at the provider, with its query string: /api/v1/slots?site=origines.
connectionYesConnection name (list_connections).
organizationNoThe organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare readOnly, openWorld, idempotent, and non-destructive. The description adds useful context beyond them: the connection's rights, rules, and function apply, authentication is handled, and a trace of the call is kept. The second sentence reads as garbled ('while adds the authentication'), which weakens how reliably the agent can parse that value.

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?

The definition is short and front-loads the core purpose. The second sentence is poorly formed and hard to parse, so it fails to earn its place as written and undermines the otherwise compact structure.

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?

The annotations cover the safety profile and the schema covers all four parameters, so most of the burden is already met. For an open-world proxy call with no output schema, the description still leaves the agent without any sense of the response or error shape. The garbled final sentence also leaves the auth and trace behavior only partly clear.

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 the schema already documents connection, path, organization, and body. The description's note that the body is only valid on a path declared as a read mostly repeats the schema's own body description. It adds little syntax or format detail beyond what the schema provides, so the baseline of 3 is appropriate.

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?

The first clause states a specific verb and resource: it reads the HTTP API of a third party the organization declared as a connection. That is clear enough to distinguish it from a local resource read like read_source. The definition loses a point because the second sentence is garbled and blurs the boundary.

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?

It states the allowed call shapes (GET, or POST with a body on a path declared as a read) and that nothing else goes out, which implies when the tool is applicable. It never explicitly says when to use this instead of list_connections, read_source, or the other connection tools, so the agent must infer the routing.

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