Skip to main content
Glama

directory

查看服务详情

get_service
Read-onlyIdempotent

用目录条目的 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": {
      "id": "<id>"
    },
    "name": "get_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes搜索或推荐结果中的服务 ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description's added value is naming the returned content fields, which matters because there is no output schema; it says nothing about behavior on an unknown or stale ID, which is the main residual risk.

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?

A single front-loaded sentence with the verb and prerequisite first, followed by a compact enumeration of return fields. No filler, though the tail is a bare list that reads as inventory rather than structured guidance.

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 one-parameter read-only lookup with no output schema, enumerating the returned fields is exactly the context an agent needs to decide post-call next steps (the 下一步 field is called out). Only missing element is failure behavior for invalid or expired IDs.

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?

With a single parameter at 100% schema description coverage, the schema already explains that the value is a service ID from search or recommendation results. The description's 目录条目的 ID phrasing restates the same idea without adding format, validity, or sourcing detail beyond the schema.

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 pairs a specific verb (查看) with a specific resource (目录条目/服务详情) and enumerates the fields returned: status, audience, covered cities, fees, conditions, next steps. It is clearly a single-item detail lookup rather than a list/search, though it never names which sibling to use when an ID is not yet known.

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: the phrase 用目录条目的 ID signals that an ID obtained elsewhere (search or recommendation results, per the schema) is a prerequisite. There is no explicit statement of when to pick this over search_services, list_member_services, or recommend_services, so the agent must infer the sequence.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources