Skip to main content
Glama

Get connection

fastero_get_connection
Read-only

Read one data connection's settings: its name, datasource, its credentials other than secrets (host, port, database, username, sslMode and the like), whether a password or key is stored (secrets), and its last connection test (connectionTest: lastOkAt, lastErrorAt, lastMessage); a connection through an SSH bastion also has sshAuthorizedKeysLine, the line for the bastion's authorized_keys. Passwords, private and secret keys, and tokens never come back. Use it to see where a connection points or why it fails; fastero_list_connections gives the connectionId and lists every connection without these details, and fastero_list_connection_schemas lists its tables. An id with no connection in this organisation answers "Connection not found". Any member of the organisation can read it.

Input Schema

NameRequiredDescriptionDefault
connectionIdYesA data connection’s id, from fastero_list_connections; fastero_create_file_connection makes one of an uploaded CSV or Excel file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / connectionId / description
      Previous value: -"A data connection’s id, from fastero_list_connections."New value: +"A data connection’s id, from fastero_list_connections; fastero_create_file_connection makes one of an uploaded CSV or Excel file."
  2. Changed1 schema field changed
    • addedInput schema / properties / connectionId / description
      Added value: +"A data connection’s id, from fastero_list_connections."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare a safe read; the description goes well beyond by disclosing the returned field set (name, datasource, non-secret credentials, connectionTest timestamps and message, sshAuthorizedKeysLine), the redaction guarantee ('Passwords, private and secret keys, and tokens never come back'), and the authorization scope ('Any member of the organisation can read it'). That is exactly the context annotations cannot carry.

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?

One dense paragraph, front-loaded with the purpose, then fields, then alternatives. The mid-sentence field enumeration is heavy but every element (secret redaction, SSH bastion case, failure message, auth scope) earns its place; a light restructuring into sentences would read better.

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

Completeness5/5

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

There is no output schema, so the description must describe the return shape, and it does so field by field, including the conditional SSH field and the test-status subfields. With permissions, redaction and not-found behaviour all covered, nothing an agent needs before calling is missing.

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% and the single connectionId parameter is already documented in the schema as coming from fastero_list_connections. The description adds only the behavioural consequence of an unknown id, not new syntax or format semantics, so baseline 3 applies.

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?

Opens with a specific verb and resource ('Read one data connection's settings') and immediately enumerates what those settings are. It explicitly distinguishes itself from fastero_list_connections (id + list, no details) and fastero_list_connection_schemas (tables), so an agent can route between the three without opening any schema.

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

Usage Guidelines5/5

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

'Use it to see where a connection points or why it fails' states the selecting condition, and both alternative siblings are named with what they return instead. It even names the substitute result for a bad id ('Connection not found'), removing ambiguity about failure semantics.

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.