Skip to main content
Glama

directory

查询公开跨城任务

search_public_tasks
Read-onlyIdempotent

查询成员发布的公开需求摘要,可按目标城市、关键词、任务类型和招募状态筛选。传 page 时每页 20 条,并返回是否还有下一页及对应的任务板链接。

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

Input Schema

NameRequiredDescriptionDefault
cityNo目标城市,可填写目录城市 ID 或中英文城市名称。
kindNo公开任务类型。省略时显示所有类型。
pageNo每页 20 条。从 1 开始,省略时返回前 40 条。
queryNo
languageNo
openOnlyNo只查询仍在招募的任务。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description earns credit beyond that by disclosing pagination behavior (20 per page when page is passed) and, importantly, the shape of the return payload (a next-page flag plus the task board link), which matters because there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both load-bearing: the first covers scope and filters, the second covers pagination and return shape. The filter dimensions are front-loaded before the pagination detail, so an agent can decide relevance immediately.

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 six-parameter, read-only search tool with no output schema, the description covers the essentials: what is returned, how paging works, and what filters exist. The remaining gap is the optional language parameter and the default 40-result behavior, which the schema covers but the description does not echo.

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 coverage is 67%, so most parameters are already documented in the schema. The description maps four of the six (city, keyword, task type, recruitment status) to their filter concepts but adds no syntax or format detail beyond the schema, and it says nothing about the language parameter. 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 states a specific verb and resource: querying public task/demand summaries published by members, with the filterable dimensions listed. This distinguishes it from the sibling search tools (agents, members, services) by resource type, though it never names an alternative explicitly.

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 by the filter list ('可按目标城市、关键词、任务类型和招募状态筛选'), which tells an agent what it can narrow by, but there is no explicit when-to-use, when-not-to-use, or routing to a sibling tool. An agent must infer that this is the task-search surface from the resource noun 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