Skip to main content
Glama

Find Similar Career Points

kb_groom_entity
Read-onlyIdempotent

Cluster similar bullets on a career knowledge-base entity and propose a keeper via deterministic embedding scores, so you can review duplicates before combining or retiring points.

Instructions

Similar bullets on one Career KB entity, clustered, with a proposed keeper. Deterministic and zero LLM calls: the pinned local embedder scores every pair of the entity's active points (drafts included, retired and user_cannot_confirm excluded) and joins pairs at 0.80 cosine and above, minus pairs the user marked "Not the same" at /career. Proposes only; nothing is written. Each cluster carries score, keeper_id, members [{id, text, state, origin, provenance, usage_count, best_score}] and pairs. The keeper rule is approved over draft, then most recently updated, then longest text. compared_wording is false when the embedder could not run; clusters is then empty. Acting on a cluster is kb_combine_points (one claim in other words: the others become the keeper's wordings) or kb_retire_points (a similar but stale one).

Input Schema

NameRequiredDescriptionDefault
entity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: deterministic zero-LLM scoring, the 0.80 cosine threshold, exclusion of retired and user_cannot_confirm points, subtraction of user-marked 'Not the same' pairs, and the keeper precedence rule (approved > most recent > longest). It also discloses the degraded path (compared_wording=false, empty clusters) when the embedder cannot run — an important failure mode not visible in annotations.

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 core action, determinism, and propose-only nature are front-loaded, then the return shape and keeper rule follow. It is dense and leans on payload-field enumeration ('{id, text, state, origin, provenance, usage_count, best_score}') that adds bulk, but nearly every sentence carries operational information.

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?

With no output schema, the description fully documents the cluster return shape, keeper rule, and degraded behavior — an agent can interpret results correctly. The only real gap is how to source entity_id, which is left implicit.

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?

There is one required parameter with 0% schema description coverage, so the description must carry it. It repeatedly frames the scope as 'the entity's active points', which lets an agent infer entity_id identifies the target entity, but it never states the identifier's form or how to obtain it (e.g., via kb_list_entities).

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?

States a specific verb and resource ('Similar bullets on one Career KB entity, clustered, with a proposed keeper') and immediately names the downstream siblings it feeds into. An agent can distinguish it from kb_combine_points, kb_retire_points, and kb_list_points without opening any schema.

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 frames the tool as propose-only ('nothing is written') and routes the agent onward: kb_combine_points for one claim in other words, kb_retire_points for a similar but stale point. This is a clear when-to-use / what-to-do-next mapping against the alternatives.

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

Deploy Server

Other Tools