Skip to main content
Glama
Expert Role Prompt MCP

Expert Role Prompt MCP

apply_reasoning

Apply Chain-of-Thought or Tree-of-Thoughts reasoning with a selected template and variables to structure complex tasks into expert-style analysis.

Instructions

Apply Chain-of-Thought or Tree-of-Thoughts 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": {
      "framework": "<framework>",
      "template": "<template>",
      "variables": "<variables>"
    },
    "name": "apply_reasoning"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateYesTemplate name within the framework
frameworkYesReasoning framework to use
variablesYesVariables to populate in the template

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 supplied, the description carries the full burden of behavioral disclosure but provides almost none. It does not explain the return behavior, side effects, deterministic or generative nature, or what happens if template variables are invalid or missing.

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?

The description is a single front-loaded sentence with no unnecessary wording. It is structurally clear, though its brevity means it leaves important operational details unstated.

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

Completeness2/5

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

Given a tool with three required parameters, an enum, and nested object input, the definition is incomplete for correct invocation beyond the schema. No annotations and no output schema mean the description should clarify behavior and expected results, but it does not.

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 the input schema already defines framework, template, and variables. The description adds no additional meaning about parameter formats, constraints, or interactions beyond what the schema provides.

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 names a concrete verb, 'Apply', and a specific resource, 'Chain-of-Thought or Tree-of-Thoughts reasoning'. This makes the tool's basic function clear, though it does not differentiate it from sibling tools such as execute_workflow or enhance_prompt.

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?

The description gives no indication of when an agent should choose apply_reasoning over sibling tools, nor does it state any preconditions, exclusions, or alternative scenarios. Usage is implied only by the framework names.

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