Skip to main content
Glama

server_get

Read-onlyIdempotent

Fetches details for one OpenCode server, including its configured description, and lets you omit the server ID when only one server is available.

Instructions

Get one OpenCode server, including its description when configured. Omit the server argument when exactly one server is available.

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

Input Schema

NameRequiredDescriptionDefault
serverNoServer id. Omit when exactly one server is available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered structurally. The description adds only that the returned server includes its description 'when configured', a useful but small behavioral detail; it says nothing about error behavior or return shape.

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 with the core purpose front-loaded and no filler. The second sentence duplicates the schema's parameter description, which is a minor redundancy rather than a flaw in clarity.

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 single optional-parameter read tool with full annotation coverage and no output schema, the definition supplies what an agent needs to call it. Only the multi-server edge case and expected failure behavior are left implicit.

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% and the single parameter's schema description is essentially word-for-word identical to the sentence in the tool description, so no meaning is added beyond structured data. The baseline of 3 applies given the schema does the work.

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 ('Get one OpenCode server') and narrows scope to a single server, which distinguishes it from the sibling servers_list. It stops short of naming the list alternative explicitly, so it is clear but not maximally differentiating.

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?

Provides one concrete usage rule: omit the server argument when exactly one server is available. It does not state when to prefer this over servers_list, nor what happens when multiple servers exist and the argument is omitted, leaving the caller to infer the failure mode.

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