Skip to main content
Glama

rank_fit

Rank professors by keyword overlap to determine research fit. Returns relevance signal and materials for LLM-based fit assessment.

Instructions

Rank professors by keyword overlap and package materials for client LLM fit judgment.

SERVER SIDE: Deterministic whole-word keyword matching against concepts + paper titles/abstracts. CLIENT SIDE: Use the fit_materials in each result to produce fit_level, match_reasons, potential_concerns, and email_advice.

Args: user_interests: Dict with one of: - {"keywords": ["blockchain", "MEV"]} - {"preset": "blockchain_security"} - {"keywords": [...], "description": "free text", "paper_urls": [...]} Optionally add topic/domain weighting (same semantics as find_professors): - {"topic_keywords": [...], "domain_keywords": [...], "topic_weight": 3.0, "domain_weight": 1.0} professors: List from search_professors or get_professor_details filters: Optional: min_citation (int), regions (list), institution_tier (list) sort_by: "relevance_signal" (default) | "citation"

Returns: ranked_professors list with relevance_signal and fit_materials for client LLM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_interestsYes
professorsYes
filtersNo
sort_byNorelevance_signal
Behavior3/5

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

The description discloses deterministic whole-word keyword matching and separates server-side and client-side responsibilities. However, it lacks details on potential limitations, error handling, or behaviors like what happens with no matches. Without annotations, more transparency would be beneficial.

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 somewhat lengthy but well-structured with sections for server-side, client-side, args, and returns. Each sentence serves a purpose, though some repetition could be trimmed. It balances detail with readability.

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?

Given the complexity (4 parameters, nested objects, no output schema, no annotations), the description is quite complete. It covers input formats, output structure, and usage flow. Missing some edge cases like default filters behavior, but overall adequate.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden. It explains user_interests format in detail (including optional fields like preset, description, paper_urls, weighting) and briefly mentions filters and sort_by options. This adds significant value beyond the schema's generic 'object' type.

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 the tool ranks professors by keyword overlap and packages materials for client LLM fit judgment. The verb 'rank' and resource 'professors by keyword overlap' is specific and distinguishes it from sibling tools like find_professors or search_professors.

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?

The description explains that the input professors should come from search_professors or get_professor_details, and instructs the client to use fit_materials for judgment. It does not explicitly mention when not to use this tool, but provides clear context for its use.

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/Wrennnn2/ProfessorFitMCP'

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