Skip to main content
Glama
io.github.gregsonworks/gregsonworks

io.github.gregsonworks/gregsonworks

Official
by gregsonworks

capability_need_matches

Retrieve up to five capability listings that match a posted need by passing its need ID; matches are ranked by category and keyword overlap.

Instructions

The listings that match a posted need, best fit first.

Pass the id returned by capability_post_need. Returns up to 5 listings matched by category and keyword overlap.

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": {
      "need_id": "<need_id>"
    },
    "name": "capability_need_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
need_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the result cap (up to 5) and the matching mechanism (category plus keyword overlap), but says nothing about failure behavior for an unknown need_id, whether the call is a read-only operation, or how ties in 'best fit' are broken.

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 behavior front-loaded and the prerequisite immediately after. No filler, though the hard-wrapped line breaks slightly interrupt flow.

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?

An output schema exists, so return-value detail is correctly omitted, and the result cap is still surfaced. The remaining gap is edge-case behavior: empty results and invalid ids are unaddressed for a single-parameter lookup 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 coverage is 0%, so the only meaning added is provenance: the need_id must come from capability_post_need. That is genuinely useful, but it does not describe the id's format or whether an arbitrary or stale id is accepted.

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: it returns the listings matching a posted need, ranked best fit first. The ordering guarantee distinguishes it from a generic capability_search, though it never names a sibling 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?

It gives a clear prerequisite ('Pass the id returned by capability_post_need'), which implies this is the step after posting a need. It does not state when to prefer capability_search instead, or what to do when no match exists.

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