Skip to main content
Glama

Client Info

client_info

Retrieves MCP client and agent information, including name, version, and prompt prefix, from the session so you can identify the connected agent.

Instructions

Get information about the MCP client/agent.

Captures agent name, version, and prompt prefix from the MCP session.

Arguments

  • session_id: string | null

    • Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.

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": {
      "args": "<args>"
    },
    "name": "client_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for client_info tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • addedInput schema / properties / args / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id."
      +}
    • removedInput schema / properties / args / properties / verbose
      Removed value: -{
      -  "default": false,
      -  "description": "Unused parameter for compatibility",
      -  "type": "boolean"
      -}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv1.3.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations present, the description must carry the behavioral burden. It implies a read-only lookup and discloses the data source (the MCP session) and the fields captured, but never states side effects, permissions, or failure behavior. The strongest behavioral content is the warning about the session_id being opaque and not a FastMCP transport id.

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?

The one-line purpose statement is front-loaded and clear. The Arguments block duplicates schema content, which is mildly wasteful, but it is short, well-formatted, and contains no filler prose.

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?

This is a simple single-parameter read tool with no output schema, so the description only needs to state what it returns and how to identify the session. It does both, with the enumerated return fields compensating for the absent output schema. Only side-effect and null-session behavior are unaddressed.

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 description coverage is 100%, so the parameter is already fully documented. The description's Arguments section restates the schema text nearly verbatim, adding no new semantics such as format, validity rules, or what happens when session_id is null. Baseline 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 description names a specific verb and resource ("Get information about the MCP client/agent") and enumerates the captured fields (agent name, version, prompt prefix), so an agent knows exactly what comes back. It does not explicitly contrast with any sibling, but none of the listed siblings plausibly overlap with this capability.

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?

Usage is only implied: an agent should call this when it needs to identify the connected client. There is no explicit statement of when to prefer it, when not to, or what to do if the client is unknown. No alternatives are named, which is acceptable here given the tool's narrow scope.

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