Skip to main content
Glama

agent_ex_version

Returns current MCP server build metadata (version, git SHA, build time) to confirm new code is active after a restart; missing info returns unknown.

Instructions

返回当前 MCP server 构建元数据(version / gitSha / buildTime),用于确认重启后新代码已生效。 构建信息缺失时返回 unknown。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the disclosure burden. It usefully defines the degenerate case ('构建信息缺失时返回 unknown'), which is real behavioral context an agent cannot get from the schema, but it never states that the call is a side-effect-free read with no prerequisites.

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?

Two short sentences, front-loaded with the returned payload and followed by the fallback behavior; nothing is wasted. Slightly more could be said about it being read-only, but no sentence is filler.

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?

There is no output schema, so the description must describe the return value, and it does — the three fields plus the 'unknown' fallback. For a zero-parameter diagnostic tool that is essentially complete; only the read-only/no-side-effect guarantee 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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the 4 baseline applies. The description correctly implies a no-argument call by describing a pure metadata read.

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?

States a specific verb and resource ('返回当前 MCP server 构建元数据') and enumerates the exact fields returned (version / gitSha / buildTime), so an agent knows precisely what comes back. It does not explicitly distinguish itself from agent_ex_status or agent_ex_doctor, but the purpose is unambiguous on its own.

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 a concrete usage condition — verifying that new code is live after a restart — which is exactly the scenario that would select this tool over the other agent_ex_* siblings. It stops short of naming alternatives or stating when not to use it.

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