Skip to main content
Glama

Index Resume / JD for Search & Match

index_document

Index a resume or job description into RChilli's Search & Match engine.

RChilli's Index endpoint accepts a resume or job description along with the index type, document ID, and indexing options, processes the document content, and stores it against the configured index key in the Search & Match engine.

Once indexed, the document can be searched, matched, updated, and reused across downstream recruitment workflows without re-processing it for every query.

Args: filedata: Base64-encoded resume or job description content. filename: Original file name including extension. indextype: Document index type - Resume or JD. documentid: Required unique document ID used for indexing. userkey: RChilli user key. Leave blank to use the authenticated session key. subuserid: Optional sub-user identifier for multi-tenant indexing. index_detail_text: Enable free-text search on the indexed document. commit: Commit the indexing operation. check_duplicate: Check for duplicate documents before indexing. duplicate_fields: Fields used for duplicate checking. Defaults to ['id']. update_duplicate: Update the existing document when a duplicate is found. use_v4: Use the Search & Match v4 endpoint when supported.

Input Schema

NameRequiredDescriptionDefault
commitNo
use_v4No
userkeyNo
filedataNo
filenameNo
indextypeNoResume
subuseridNo
documentidNo
check_duplicateNo
duplicate_fieldsNo
update_duplicateNo
index_detail_textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and the description adds real context on top: an external engine call, persistent storage under an index key, and duplicate-handling behavior (check_duplicate, update_duplicate) that materially affects repeat invocations. It still omits failure modes, whether re-indexing overwrites an existing documentid, and what authentication the userkey alternative requires.

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?

Front-loaded with a one-line purpose, then scope, then an Args block proportional to 12 parameters. The middle sentence largely restates the opening ('RChilli's Index endpoint accepts a resume or job description along with the index type, document ID, and indexing options') and could be trimmed, but nothing is seriously bloated.

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?

For a 12-parameter external mutation with no output schema, the description covers what is stored, why it matters downstream, and every argument. It stops short of describing return values, error conditions, or what happens to an existing document when a duplicate is found and update_duplicate is false, which an agent would want before calling.

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 must carry the full burden, and it does document all 12 parameters with meaning beyond type alone (base64 encoding, filename must include extension, documentid is required and unique, blank userkey falls back to the session key, duplicate_fields defaults to ['id']). Gaps remain: indextype's allowed values are only loosely stated, and conditional relationships such as duplicate_fields only mattering when check_duplicate is true are unstated.

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?

Specific verb and resource: indexes a resume or job description into the RChilli Search & Match engine, and it names the stored artifact (document against the configured index key). It implicitly separates itself from search_indexed_documents/find_matches_in_index by describing indexing as the write step that precedes searching, but never explicitly names a sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second paragraph gives the motivating condition for use: index once so the document can be searched, matched, and updated without re-processing. However, there is no explicit when-not guidance, no statement of when to prefer search_indexed_documents, update_profile, or a re-index, and no ordering prerequisites beyond a passing note about the session key.

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.

Resources