Skip to main content
Glama
TokDar2410621

publiar-mcp

find_similar_corpus

Retrieve top-K lead magnets from the corpus most similar to a query. Uses embedding cosine similarity and engagement metrics to rank matches, with optional brand and archetype filters.

Instructions

RAG retrieval : retourne les top-K lead magnets du corpus les plus similaires à une requête (texte libre + brands optionnels). Score = embedding cosine + engagement bump (log10 likes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNo
queryYesDescription libre du lead magnet souhaité
brandsNoBrands seed pour booster les matches
archetypeNoRestrict à un archétype
Behavior4/5

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

With no annotations, the description carries full responsibility for behavioral transparency. It discloses the scoring algorithm (embedding cosine + engagement bump with log10 likes), which explains how results are ranked. The wording clearly implies a read-only retrieval operation, though it doesn't explicitly state that.

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 two short sentences. The first front-loads the core purpose ('RAG retrieval'), and the second provides a concise scoring formula. Every word earns its place with no redundancy.

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 retrieval tool with no output schema and no annotations, the description adequately covers the main aspects: what it returns, how results are scored, and optional parameters. A minor gap is that it doesn't specify the structure of each returned lead magnet, but that's often understood from context.

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?

The schema already covers 75% of parameters with descriptions, but the description adds extra meaning: it clarifies 'k' as top-K, describes 'query' as free text, and states that 'brands' are optional. The scoring formula also explains how 'k' results are selected, going beyond the schema.

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's function: it returns the top-K lead magnets from the corpus most similar to a query. The specific verb 'retourne' and resource 'lead magnets du corpus' distinguish it from sibling tools like list_corpus (listing all) and generate_lead_magnet (creating).

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 provides a clear context for usage: 'RAG retrieval' and 'most similar' imply this is for similarity-based search on the corpus. It doesn't explicitly name alternatives or exclusions, but the intended use case is evident. This qualifies as 'clear context, no exclusions'.

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/TokDar2410621/publiar-mcp'

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