Skip to main content
Glama

connection_config

Retrieves the MCP connection details—command, args, working directory, dashboard URL, and database path—needed to connect subagents or SDK clients.

Instructions

Returns this server's MCP connection config: command, args, working directory, dashboard URL, and database path. Useful for connecting subagents or SDK clients.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connection_config"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the return payload field-by-field even though no output schema exists. The read-only nature is implied by 'Returns', but it never explicitly states that calling it has no side effects or whether sensitive values (tokens, env) may be included, which matters for a config-dump tool.

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

Conciseness5/5

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

Two sentences, both earning their place: the first identifies what is returned with a concrete field list, the second supplies the use case. Front-loaded with the payload description before the rationale.

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 simple zero-arg read tool the description covers purpose, returned fields, and intended use, which substitutes well for the absent output schema. Only the exact shape/format of the returned config object is left unspecified, a minor gap.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4. The description correctly implies a parameterless call by not referencing any inputs, leaving nothing to misinterpret.

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?

States a specific verb ('Returns') and resource ('this server's MCP connection config') and then enumerates the exact fields returned: command, args, working directory, dashboard URL, database path. No sibling in the provided list exposes server connection configuration, so the tool is unambiguously distinguishable.

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?

'Useful for connecting subagents or SDK clients' gives a concrete context in which to reach for this tool rather than others. It stops short of naming alternatives or stating when not to call it, but for a zero-parameter getter the selection context is clear.

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