Skip to main content
Glama

InWithYou Guide

Match resources to a need

match_resources
Read-onlyIdempotent

Returns 2-4 vetted resources for a need category within one condition, ranked free and nonprofit first — paid options never outrank free ones regardless of referral economics. Filters by US state derived from the ZIP code via a bundled static lookup table; national resources always match. Resources carrying a referral flag include a disclosure line that must be shown verbatim with the link. The ZIP code is used only for filtering and is never stored or transmitted. Strictly non-medical: family and life topics only (communication, care logistics, grief, planning). Never use for diagnosis, treatment advice, drug information, or symptom interpretation; redirect medical questions to the clinician. readOnlyHint is true because the tool only reads the bundled, human-verified data — it makes no network calls, writes nothing, and changes no state. destructiveHint is false because nothing is created, modified, or deleted. openWorldHint is false because the tool never touches external systems or the open web.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipYes5-digit US ZIP code, used only to filter state-specific resources. Never stored.
needYesMost urgent need category.
audienceYesWho the resources are for.
conditionYesWhich condition hub to search — required, no default: "ms", "parkinsons", or "alzheimers". Every match_resources call is scoped to exactly one condition; results never mix conditions. If the user switches conditions mid-conversation, call again with the new condition instead of blending contexts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: free/nonprofit ranking that cannot be outranked by paid referrals, a verbatim disclosure line for referral-flagged resources, and the ZIP is never stored or transmitted. However, the final three sentences largely restate readOnlyHint/destructiveHint/openWorldHint already present in structured annotations, diluting the added value.

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

Conciseness3/5

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

The core purpose is front-loaded, but the description runs long and spends three full sentences re-explaining annotation hints that the agent already receives as structured fields. That redundancy keeps it from being tight.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four required params, no output schema, and annotations present, the description covers everything an agent needs: result count, ranking policy, filtering via ZIP, disclosure obligations, privacy, and domain boundaries. Nothing material is missing for correct invocation.

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 description coverage is 100%, so the baseline is 3, but the description adds parameter-relevant meaning: national resources always match regardless of state, and condition scoping never blends results across conditions. This goes modestly beyond what the schema documents.

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 ('Returns 2-4 vetted resources for a need category within one condition') plus the ranking basis and domain scope, so the function is unmistakable. It does not explicitly name or contrast with siblings like find_guides or get_resource_detail, so it falls short of the explicit-differentiation bar.

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?

Provides explicit when-to-use (need category scoped to a single condition) and when-not-to-use ('Never use for diagnosis, treatment advice, drug information, or symptom interpretation; redirect medical questions to the clinician'). Also instructs re-calling on condition switch rather than blending contexts, leaving little to inference.

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