Skip to main content
Glama
selvinchen97-lab

selvin-search-mcp

plan_intent

Analyze user intent and create a search planning session. Required first step for structured search execution.

Instructions

Phase 1 of search planning: Analyze user intent. Call this FIRST to create a session.
Returns session_id for subsequent phases. Required flow:
plan_intent → plan_complexity → plan_sub_query(×N) → plan_search_term(×N) → plan_tool_mapping(×N) → plan_execution

Required phases depend on complexity: Level 1 = phases 1-3; Level 2 = phases 1-5; Level 3 = all 6.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoSpecific domain if identifiable
thoughtYesReasoning for this phase
confidenceNoConfidence 0.0-1.0
query_typeYesfactual | comparative | exploratory | analytical
session_idNoEmpty for new session, or existing ID to revise
ambiguitiesNoComma-separated unresolved ambiguities
is_revisionNoTrue to overwrite existing intent
core_questionYesDistilled core question in one sentence
premise_validNoFalse if the question contains a flawed assumption
time_sensitivityYesrealtime | recent | historical | irrelevant
unverified_termsNoComma-separated external terms to verify
Behavior3/5

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

No annotations are provided, so the description carries full burden. It mentions creating a session and returning a session_id, but does not disclose side effects like overwriting existing intent on revision, potential errors, or any other behavioral traits beyond what is implied by the schema. Moderate transparency.

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 extremely concise: three sentences that front-load the purpose and then provide the complete workflow. No wasted words, every sentence earns its place.

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?

While the description covers the workflow well, it lacks detail on return value format (only mentions 'Returns session_id' but no other fields) and error conditions. Given the tool creates a session and has 11 parameters, additional context on output and failure modes would improve completeness. No output schema is provided, so the description should compensate.

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 100% with all parameters described in the schema. The description does not add any additional meaning or context to the parameters beyond what is already present in the input schema. Baseline 3 is appropriate.

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 states it is 'Phase 1 of search planning: Analyze user intent. Call this FIRST to create a session.' This provides a specific verb (analyze), resource (user intent), and distinguishes it from sibling planning tools by being the first step.

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 provides the required flow: 'plan_intent → plan_complexity → plan_sub_query(×N) → plan_search_term(×N) → plan_tool_mapping(×N) → plan_execution' and specifies that phases depend on complexity levels (Level 1 = phases 1-3, Level 2 = phases 1-5, Level 3 = all 6). This gives clear when-to-use and sequencing guidance.

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/selvinchen97-lab/GLM-search-mcp'

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