Skip to main content
Glama

updateApplicantRule

Update an auto-review rule of this beta project's applicant screening; provide only the fields to change (conditions and actionSuggestedLabelIds REPLACE the current lists). Each condition is { type: "question" | "emailDomain", operator: "equals" | "contains" | "exists" | "gt" | "lt", questionId?, value? }. type "question" compares an applicant's answer to a screening form question (questionId required, from getScreeningSetup); type "emailDomain" compares the applicant's email domain (contains not supported). "exists" takes no value; every other operator requires one. gt/lt are numeric and question-only (like a Rate answer). A rule matches when ALL its conditions match. Existing applicants are re-evaluated immediately (refreshedCount says how many suggestions changed); already APPROVED reviews are never touched.

Input Schema

NameRequiredDescriptionDefault
nameNoA short manager-facing rule name.
ruleIdYesThe ruleId, from getScreeningSetup. Never invent ids.
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.
conditionsNoThe full replacement list of conditions that must ALL match.
actionSuggestedStatusNoThe status to suggest when the rule matches.
actionSuggestedLabelIdsNoThe full replacement list of per-beta label ids (listBetaLabels) to suggest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say readOnlyHint=false, destructiveHint=false): it discloses immediate re-evaluation of existing applicants, that refreshedCount reports how many suggestions changed, and that already-APPROVED reviews are never touched — a key safety boundary for an agent. It also flags the unusual replace-vs-patch semantics for conditions and actionSuggestedLabelIds.

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?

Dense but zero-waste: purpose and the partial-update/replace distinction are front-loaded, then the condition grammar, then the side-effect on existing applicants. Every clause carries information the agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter mutation tool with no output schema and a nested conditions structure that the schema leaves undefined, the description covers purpose, payload shape, replacement semantics, return signal (refreshedCount), and the APPROVED-review exclusion. Nothing an agent needs to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds substantial meaning the schema lacks: the conditions array has no item schema at all, and the description supplies its full grammar (type, operator, questionId, value), per-type constraints (questionId required for question, contains unsupported for emailDomain), operator-specific value rules (exists takes none; gt/lt are numeric and question-only), and the AND semantics across conditions.

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+resource ("Update an auto-review rule") scoped to "this beta project's applicant screening", which cleanly separates it from createApplicantRule and deleteApplicantRule in the sibling list without needing the schema.

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?

Gives clear operative guidance: supply only the fields to change, and names getScreeningSetup as the source of questionId. It does not explicitly route the agent to createApplicantRule for new rules or deleteApplicantRule for removal, so the alternative-selection guidance is contextual rather than explicit.

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