Skip to main content
Glama

search_needs

Read-onlyIdempotent

Search requirements, design, and verification needs by text, type, status, or custom fields, returning matching IDs, types, titles, and statuses. Use returned IDs with get_need to inspect full details.

Instructions

条件に合う need の一覧(ID・型・タイトル・ステータス)を返します。

条件はすべて「かつ」で組み合わせます。本文は返さないので、 気になった ID は get_need で詳しく見てください。

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

Input Schema

NameRequiredDescriptionDefault
textNoID・タイトル・本文に含まれる文字で絞ります(大文字・小文字は区別しません)
limitNo返す件数の上限(1〜500)
whereNoフィールド名と値で絞ります(例:{"layer": "driver"})。tags のようなリストは「その値を含むか」で見ます
statusNoステータスで絞ります(例:approved)
need_typeNo型の名前で絞ります(例:swreq)。名前は describe_project で分かります

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, openWorldHint=false), and the description adds a genuinely useful behavioral fact not in the annotations or schema: body content is NOT returned, so results are summaries only. What is missing is any note on ordering or whether results are truncated at the limit; otherwise this is solid added context.

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?

Three short lines, front-loaded with what is returned, then filter semantics, then the hand-off to get_need. Nothing is padded and every clause carries information an agent needs before calling.

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?

All five parameters are optional and fully described in the schema, annotations declare the read-only profile, and an output schema exists, so the remaining burden on the description is small; it covers return shape and routing. The only gap is pagination/ordering behavior when limit is hit, which is nowhere stated.

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?

Schema coverage is 100%, so the baseline would be 3, but the description earns an increment by stating the cross-parameter semantics (all supplied conditions are AND-ed), which no individual schema property description conveys. It does not restate the text/where/status syntax, which is fine since the schema already does.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("条件に合う need の一覧を返します") and enumerates exactly which fields come back (ID・型・タイトル・ステータス), which immediately separates it from get_need, the detailed-record sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: this tool for filtered lists, then "気になった ID は get_need で詳しく見てください" for full records. It also tells the agent how filters compose (all conditions AND-ed), so there is no ambiguity about how to narrow a search.

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