Skip to main content
Glama

Rafał Doniec: AI for companies

Match a service to a description

match_service
Read-only

Reads a client's need in their own words and suggests the service and the answers it mentions. Rules in code, no language model; check the result with the client.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoLanguage of the texts in the result. Default: en.
descriptionYesThe client's need in their own words (optional). Features it mentions, such as integrations, are priced in.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
answersNoAnswers the description mentions, by question id (q1, q2, q3, when, budget).
serviceYesnull when no service matched.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Without annotations doing the work here beyond readOnlyHint=true and openWorldHint=false, the description usefully discloses that the matching runs on deterministic code rules rather than a language model, and that the output is advisory and must be verified with the client. That is real behavioral context an agent would not learn from the schema. It stops short of 5 because nothing is said about confidence, failure modes, or fallback behavior when no service matches.

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 compact sentences with the core action front-loaded and no filler. The verification caveat earns its place, though the phrase 'the answers it mentions' is imprecise enough to cost it a 5.

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 values need not be explained, and the description supplies the important caveats: rule-based determination and a client verification step. What is missing is guidance on when this tool is the right one versus its siblings in the quote workflow.

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%, so both parameters are already fully documented, and the description's 'in their own words' merely echoes the description param. Baseline 3 applies since the schema does the heavy lifting; the note that mentioned features are priced in adds only marginal value.

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 reads the client's need and suggests a matching service. The phrase 'the answers it mentions' is vague about what secondary output is produced, and the description does not distinguish itself from siblings like estimate_price or list_services, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no condition selecting this tool over estimate_price or list_services, and no statement of prerequisites. The only contextual hint, 'check the result with the client,' is a post-call caution rather than routing guidance.

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