Skip to main content
Glama

JOBFLOW

Classify a request

intake_classify
Idempotent

Classifies a customer request and opens the flow (REQUEST → CLASSIFIED). Never: Set an emergency tariff. Platform fee CHF 0.05 per accepted call: quote first, then send quote_id, mandate_token and idempotency_key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
quote_idNoA valid quote for this capability (quote).
mandate_tokenYesThe mandate token from mandate.create.
idempotency_keyNoRequired on every mutate and money call; a retry with the same key returns the same result and is not charged again.
channel_message_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Adds real context beyond the annotations: a specific platform fee (CHF 0.05 per accepted call), the required quote-first sequencing, and the state transition. This is consistent with idempotentHint=true and readOnlyHint=false. It stops short of describing retry/error behavior or what classification is produced.

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?

Three short sentences, purpose front-loaded, no filler. The 'Never:' fragment is terse but readable and earns its place as a hard boundary.

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

Completeness3/5

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

With no output schema, the description should say more about what a classification yields or which categories exist, and it leaves two parameters undocumented. For a 5-param money-touching mutation it is adequate but not complete.

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 60%, and the description names only quote_id, mandate_token and idempotency_key – all three already documented in the schema – while adding the useful ordering constraint. The required 'text' and 'channel_message_id' parameters get no explanation, so the description does not fully compensate for the coverage gap.

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+resource ('Classifies a customer request') and a precise state transition ('REQUEST → CLASSIFIED'), which is more than a tautology of the title. It does not, however, differentiate itself from plausibly related siblings like intent_match or assign, leaving the agent to infer the boundary.

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?

Provides one workflow prerequisite ('quote first, then send quote_id, mandate_token and idempotency_key') and one explicit exclusion ('Never: Set an emergency tariff'). It never states when to prefer this tool over siblings such as intent_match or assign, so routing guidance is only partial.

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