Skip to main content
Glama
Expert Role Prompt MCP

Expert Role Prompt MCP

enhance_prompt

Rewrites a task prompt with a chosen expert role’s frameworks, methodologies, and reasoning style to add structure and improve guidance.

Instructions

Enhance a prompt with expert frameworks, methodologies, and reasoning

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "expert_id": "<expert_id>",
      "task_description": "<task_description>"
    },
    "name": "enhance_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
expert_idYesThe expert role ID to use for enhancement
reasoning_typeNoType of reasoning to apply (optional)
task_descriptionYesThe task to enhance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and discloses almost nothing: it does not say whether this is a read-only/compute operation or a mutation, whether it invokes an LLM (implying latency or cost), whether results are persisted, or what the caller receives back. "Enhance" plus "frameworks" hints at a transformation but leaves side effects and output shape undefined.

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?

One front-loaded sentence with no filler or repetition; nothing is wasted. It is efficient, though the brevity comes at the cost of the missing usage and behavioral detail scored elsewhere.

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?

For a 3-parameter tool with a fully described schema and no output schema, the description is minimally viable but leaves real gaps: no indication of what the enhanced prompt looks like on return, and no hint of how expert_id should be discovered. A short clause on the return value and on pairing with list_expert_roles would close the loop.

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 expert_id, reasoning_type, and task_description are already documented, and the enum values are listed in the schema. The description adds no format, sourcing, or constraint detail (e.g., where valid expert_ids come from) beyond the schema, so the baseline 3 applies.

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?

The description gives a specific verb and resource ("Enhance a prompt") plus the mechanism ("expert frameworks, methodologies, and reasoning"), so the purpose is unambiguous. It does not, however, distinguish this from siblings such as apply_reasoning or nominate_expert, which also involve expert roles and reasoning.

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 guidance on when to use this versus apply_reasoning, nominate_expert, or the workflow tools, and no prerequisites are stated (for example, that expert_id presumably must come from list_expert_roles). The agent must infer the selection conditions entirely from the tool name.

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