Skip to main content
Glama
alsaltitop

customer-replies-mcp-server

by alsaltitop

Search Reply Templates

replies_search_templates
Read-onlyIdempotent

Search customer reply templates by keyword, category, language, or tone to locate the appropriate response for any scenario.

Instructions

Search customer reply templates by keyword, category, language, or tone.

Args:

  • query (string, optional): keyword matched against title, body, category, and tags (Arabic or English)

  • category (string, optional): exact category, e.g. 'repair_status', 'complaint'

  • language ('ar'|'en', optional)

  • tone ('formal'|'friendly', optional)

Returns: JSON array of template summaries { id, category, title, language, tone, variables, tags }. Use the id with replies_get_template or replies_compose_reply.

Examples:

  • "Find a reply for a delayed repair" -> category='delay_apology', language='ar'

  • "رد على شكوى" -> query='شكوى'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toneNoReply tone
queryNoKeyword to search for
categoryNoOne of: greeting, price_inquiry, diagnosis, repair_status, ready_for_pickup, delay_apology, warranty, complaint, unrepairable, data_disclaimer, part_unavailable, location_hours, payment, follow_up
languageNoTemplate language: 'ar' Arabic or 'en' English
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description adds value by specifying return format (JSON array of template summaries) and providing examples. No contradictions.

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?

The description is concise and well-structured: a one-line summary, parameter definitions, return info, and examples. Every sentence is useful, and the front-loaded style helps the agent quickly grasp the tool.

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?

Given no output schema, the description fully compensates by detailing the return format. All parameters are covered, and examples provide practical guidance. The tool is simple, and the description is comprehensive for its purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the description still adds significant meaning: it explains that query matches multiple fields in both languages, gives example categories, and clarifies language/tone options. This goes beyond the schema's brief descriptions.

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?

The description clearly specifies the verb 'search' and the resource 'customer reply templates', and distinguishes it from siblings like replies_get_template and replies_compose_reply. The title and first sentence set a clear purpose.

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

Usage Guidelines4/5

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

It tells the agent to use the returned id with replies_get_template or replies_compose_reply, implying the tool's role in a workflow. However, it does not explicitly state when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alsaltitop/customer-replies-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server