Skip to main content
Glama

RPCS-1 Agent Tuner & Translation Bridge

Prepare a user’s message before acting on it

prepare_prompt
Read-onlyIdempotent

The inbound half of the Translation Bridge loop. Takes the user’s raw message (possibly ambiguous, fragmented, or underspecified) plus their ReceiverProfile, and returns the recovered intent, a canonical translation to act on, ambiguity level, and — profile-aware — whether to clarify or commit. Call this before acting on any ambiguous user request. Scope note: its detectors are lexical/structural (vague signals, ambiguous references) — for the commit-vs-clarify DECISION, route_intent (with your own proposed readings) is the authority; when they disagree, follow route_intent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
riskNoRisk category for the ambiguity threshold.advice
textYesThe user’s raw message.
profileNoThe user’s ReceiverProfile from calibrate_profile. Shapes clarify-vs-commit behavior.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, and non-destructive behavior. The description adds meaningful context about lexical/structural detectors, return contents, and the authoritative role of route_intent. No contradiction with annotations.

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 sentences, each serving a distinct purpose: definition, usage instruction, and scope caveat. No filler, though slightly dense and could be tightened.

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?

No output schema exists, so the description compensates by listing return items (recovered intent, canonical translation, ambiguity level, clarify/commit decision). It also names related tools and clarifies authority relationships, making the tool's role sufficiently 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 description coverage is 100%, so baseline is 3. The description adds some context ('possibly ambiguous, fragmented, or underspecified') but does not significantly extend beyond the schema's own parameter 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?

Description clearly states prepare_prompt is the inbound half of the Translation Bridge loop, taking the raw message and ReceiverProfile and returning recovered intent, canonical translation, ambiguity level, and clarify-vs-commit. It distinguishes itself from route_intent by delegating the final decision to that sibling tool.

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?

Explicitly instructs to 'Call this before acting on any ambiguous user request' and provides a scope note naming route_intent as the authority for commit-vs-clarify decisions, including what to do when they disagree. This is direct when-to-use/alternative 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.

TDQS

A4/5.0
Disambiguation2/5

Several tools have overlapping purposes: interpret, prepare_prompt, and route_intent all deal with ambiguity detection and clarification decisions. Their boundaries are subtle (e.g., prepare_prompt returns a commit-vs-clarify decision but defers to route_intent as authority), which will likely confuse an agent trying to select the right tool. The descriptions try to differentiate them, but the functional overlap is significant.

Naming Consistency3/5

The tool names mix conventions: single verbs (interpret, normalize, rewrite) and verb_noun compounds (calibrate_profile, prepare_prompt, render_reply, route_intent). While the verb_noun names are consistent among themselves, the single-verb names break the pattern, giving an overall mixed but readable set.

Tool Count5/5

8 tools is a well-scoped count for the server's purpose (agent tuning and translation bridge). Each tool serves a distinct function in the pipeline without being excessive, and the number is within the ideal 3-15 range.

Completeness4/5

The core lifecycle (calibrate -> prepare -> route -> render) is well-covered, and auxiliary tools (interpret, normalize, rewrite, recommend) fill common side needs. Minor gaps exist, such as no explicit profile update tool and redundancy between prepare_prompt and route_intent, but agents can work around these.