Skip to main content
Glama

connection_info

Read-only

Returns the active vault and code-repository roots used by this MCP process, showing how each was resolved so clients can diagnose stale configuration or multiple workspaces.

Instructions

Return the exact active vault root and code-repository root used by this MCP process, including how each root was resolved. Call first when a client may have stale configuration or multiple workspaces. Root changes require restarting the MCP process. Always returns guide.card, the construction card, plus guide.topics. Pass guide to also receive guideText, the full text of that topic, because a host may truncate the server instructions while tool results arrive whole.

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_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
guideNoReturn the long-form rules for one topic in `guideText`: `meta_model` (the five authorable kinds and the is_a boundary), `construction` (naming, body, depends_on and element rules for building a map), `write_safety` (the dry-run/confirm and expected_mtime patterns), `workflows` (the shortest handoff for a known coding task), or `competency` (the five `answers` rows `finalize_project_meaning` takes, with an example call; the server writes the `## Competency answers` section from them).

Output Schema

NameRequiredDescriptionDefault
guideYes
serverYes
repoRootYes
sameRootYes
guideTextNo
vaultRootYes
repoResolutionYes
vaultResolutionYes
restartRequiredForRootChangeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.4.0
    • changedInput schema / properties / guide / description
      Previous value: -"Return the long-form rules for one topic in `guideText`: `meta_model` (the five authorable kinds and the is_a boundary), `construction` (the rules to read before add_concept), `lifecycle` (review before write), `write_safety` (the dry-run/confirm and expected_mtime patterns), `workflows` (the three starting workflows), or `competency` (the exact `## Competency answers` section `finalize_project_meaning` parses)."New value: +"Return the long-form rules for one topic in `guideText`: `meta_model` (the five authorable kinds and the is_a boundary), `construction` (naming, body, depends_on and element rules for building a map), `write_safety` (the dry-run/confirm and expected_mtime patterns), `workflows` (the shortest handoff for a known coding task), or `competency` (the five `answers` rows `finalize_project_meaning` takes, with an example call; the server writes the `## Competency answers` section from them)."
    • changedInput schema / properties / guide / enum
      Previous value: -[
      -  "meta_model",
      -  "construction",
      -  "lifecycle",
      -  "write_safety",
      -  "workflows",
      -  "competency"
      -]New value: +[
      +  "meta_model",
      +  "construction",
      +  "write_safety",
      +  "workflows",
      +  "competency"
      +]
  2. Changed2 schema fields changedv1.4.0
    • changedOutput schema / properties / guide / properties / card / pattern
      Previous value: -"^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$"New value: +"^(?!\\s)(?![\\s\\S]*\\s$)(?![\\s\\S]*\\u0000)[\\s\\S]+$"
    • changedOutput schema / properties / guideText / pattern
      Previous value: -"^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$"New value: +"^(?!\\s)(?![\\s\\S]*\\s$)(?![\\s\\S]*\\u0000)[\\s\\S]+$"
  3. Changed4 schema fields changedv1.3.0
    • addedInput schema / properties / guide
      Added value: +{
      +  "description": "Return the long-form rules for one topic in `guideText`: `meta_model` (the five authorable kinds and the is_a boundary), `construction` (the rules to read before add_concept), `lifecycle` (review before write), `write_safety` (the dry-run/confirm and expected_mtime patterns), `workflows` (the three starting workflows), or `competency` (the exact `## Competency answers` section `finalize_project_meaning` parses).",
      +  "enum": [
      +    "meta_model",
      +    "construction",
      +    "lifecycle",
      +    "write_safety",
      +    "workflows",
      +    "competency"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / guide
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "card": {
      +      "minLength": 1,
      +      "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +      "type": "string"
      +    },
      +    "topics": {
      +      "items": {
      +        "minLength": 1,
      +        "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "card",
      +    "topics"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / guideText
      Added value: +{
      +  "minLength": 1,
      +  "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "vaultRoot",
      -  "repoRoot",
      -  "vaultResolution",
      -  "repoResolution",
      -  "sameRoot",
      -  "restartRequiredForRootChange",
      -  "server"
      -]New value: +[
      +  "vaultRoot",
      +  "repoRoot",
      +  "vaultResolution",
      +  "repoResolution",
      +  "sameRoot",
      +  "restartRequiredForRootChange",
      +  "server",
      +  "guide"
      +]
  4. First observedv0.13.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that root changes require restarting the MCP process (explaining the non-idempotent hint), specifies the always-present return fields (guide.card, guide.topics), and explains the rationale for guideText — that a host may truncate server instructions while tool results arrive whole. That is exactly the kind of operational context annotations cannot express.

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?

Front-loaded with what the tool returns, followed by when to call it and then the return-shape details; no filler sentences. The final sentence is long and packs the truncation rationale, but every clause carries information an agent needs.

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?

Even though an output schema exists, the description correctly clarifies the guide/guideText coupling and the restart caveat, which the schema alone would not convey. Nothing needed to call this single-optional-parameter tool correctly is missing.

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?

Schema coverage is 100% and the enum values are already documented, so the baseline would be 3. The description still adds meaning by stating that passing `guide` also returns `guideText` with the full topic text and why that matters, connecting the parameter to a concrete output side effect.

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 and resource: 'Return the exact active vault root and code-repository root used by this MCP process', plus the resolution provenance for each root. It is unmistakably distinct from the sibling ontology tools (add_concept, query_concepts, git_status), which all operate on map content rather than process configuration.

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?

Gives explicit when-to-use guidance: 'Call first when a client may have stale configuration or multiple workspaces', which covers the diagnostic scenario well. It does not name an alternative or state when not to call it, so it stops short of full routing guidance.

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