Skip to main content
Glama

Get Server Info

server_info
Read-onlyIdempotent

Reports this MCP server's identity and health: version, build commit, config DB schema version and drift warnings. Call it after an update or restart to confirm the running binary matches your latest code.

Instructions

Report this SERVER's own identity and health: name, version, build commit, config DB schema version and drift warnings. Needs no session.

Call it first after an update or restart: the commit answers what the version cannot - 'is this binary built from the code I just landed?'. Not about a solution's configuration (solution_config_status: what is active; check_solution_config_drift: does it fit the code), the tool list (list_skills) or their use (usage_report).

Plain text, not JSON. Line 1 is the identity: 'aicb MCP server (AIContextBuilder) v (commit )', ' plus uncommitted changes' after the sha for a dirty tree, '; whether the build had uncommitted changes is unknown' for an unreadable one. Compare the commit against git rev-parse HEAD (the full sha; a short hash is its prefix): one version number can cover DIFFERENT builds. No git revision, no commit. 'Config DB schema: user_version=N ()' follows when a config DB is resolved.

Then, where they apply: ANALYZER DRIFT - this build's commit against the HEAD of each analyzed solution's repo, per repo with its solution and HEAD (it cannot tell which is yours), in sync and ahead included; silent with no session; no line for a repo not knowing this commit. SCHEMA DRIFT - the config DB's schema is newer than this binary: rebuild or reinstall. PENDING MIGRATION - the reverse; the line says how to migrate. TOOL POOL DRIFT - the active profile lists tools this binary does not register: a newer build wrote it (rebuild or reinstall) or the tool was retired (re-save the profile); tool names only, not parameters. CONFIG DRIFT - the active MCP profile changed since start: restart or reconnect to load its tools and instructions. SKILL - whether a session's aicb skill files match the tools of the servers reading them (a shared root: tools all serve); aicb skills sync updates stale ones.

Read-only; the analyzer line runs git in each analyzed repo.

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": "server_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description goes beyond them: it discloses plain-text output, that the analyzer line shells out to git in each analyzed repo, and that the analyzer section is silent without a session. It does not contradict the readOnly annotation, since it self-describes as 'Read-only' and the git call is a read. The remaining gap is minor: it never says how quickly it returns or what it costs when many solutions are analyzed.

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 front-loaded well (identity and health first, exclusions second, output format third) and the caps-labeled drift sections help scanning. But the middle block is a dense run-on of special-case rules and quoted output-line templates, and sentences such as the explanation of what 'the version cannot' answer could be trimmed. Much of the bulk is justified by the absence of an output schema, but the prose is heavier than it needs to be.

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?

With no output schema, the description carries the return-value burden alone and does so thoroughly: it specifies line 1's exact identity format, the dirty-tree and unreadable-build variants, the config DB line, and each conditional drift section including when they stay silent. For a zero-parameter, read-only diagnostic tool this is complete.

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 there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly spends no space on inputs and instead invests in output semantics.

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?

The first sentence names a specific verb and resource ('Report this SERVER's own identity and health') and enumerates exactly what is returned: name, version, build commit, config DB schema version, drift warnings. It then explicitly distinguishes itself from three named siblings (solution_config_status, list_skills, usage_report), so an agent can route correctly without opening schemas.

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?

Gives an explicit trigger ('Call it first after an update or restart') with the reason ('the commit answers what the version cannot'). It also states exclusions by naming the alternative tools for solution config, tool listing, and usage questions, and notes 'Needs no session', which removes a prerequisite an agent might otherwise assume.

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