Skip to main content
Glama

搜尋機構

search_facilities
Read-only

依縣市、行政區或名稱搜尋長照機構。一頁最多 12 筆,回傳卡片欄位。

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

Input Schema

NameRequiredDescriptionDefault
qNo機構名稱關鍵字
cityNo縣市,例如「臺中市」
pageNo頁碼,預設 1
districtNo行政區,例如「北屯區」

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral detail not in the annotations: a hard page size cap of 12 results and a note that results are returned as card fields, which tells the agent to paginate for broader queries.

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 searchable dimensions before the paging constraint. Nothing is wasted, though the closing phrase about card fields is terse enough to be slightly ambiguous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 must carry return-shape information, and 'reports card fields' is vague about what those fields actually are. Paging is disclosed via the 12-per-page cap, but total counts and the default page size rely on the schema, leaving the return contract thin for a paginated search tool.

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 schema already defines q, city, district, and page with examples, so the baseline of 3 applies. The description echoes the same three filter dimensions without adding format, matching, or combination semantics beyond what the schema provides.

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 states a specific verb and resource (搜尋長照機構) and names the three filter axes (city, district, name), so an agent can distinguish it from single-record siblings like get_facility. It does not explicitly contrast itself with list_city_counts or list_district_counts, leaving some sibling differentiation to inference.

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 implied: search when you want to locate facilities by location or name. There is no explicit when-not guidance or pointer to get_facility / list_city_counts as alternatives, so the agent must infer routing from tool names alone.

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