Skip to main content
Glama

Change a role's search plan

set_search_plan
Idempotent

Change what a role's rounds keep to and look for, as a new version of its plan (every version is kept; restore_version brings an old one back). Fields left out stay as they are. required: places, languages, terms (words someone's work must show); preferred: skills that move people up; seeds: owner/repo whose people each round reads; location_unknown: exclude (default) or include people with no location, marked unknown. approve / reject: wider searches by id from get_search_plan. Pass version (from get_search_plan) so a change made meanwhile isn't overwritten. Returns the plan and what changed. Only change required constraints when the user asks.

Input Schema

NameRequiredDescriptionDefault
seedsNoowner/repo, up to 5
rejectNoWider search ids to dismiss
approveNoWider search ids to approve
role_idYes
versionNoThe plan version you read (get_search_plan's version)
requiredNo
preferredNo
restore_versionNoMake this old version the plan again
location_unknownNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial behavior beyond annotations: every version is kept, restore_version reverts, omitted fields stay unchanged (confirming the idempotent merge semantics), and it returns the plan plus a diff. No permissions/auth context, but the mutation profile is well covered.

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 the action and versioning model, and every clause carries usable information. The middle section is a dense run-on list of field meanings that takes effort to parse but wastes little.

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 9-parameter tool with a nested object, it covers what changes, merge semantics, concurrency safety, and the return value ('the plan and what changed'), which stands in for the missing output schema. Auth/permission requirements are the notable omission.

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 only 56%, yet the description explains the meaning of nearly every parameter – required (places/languages/terms with 'words someone's work must show'), preferred ('skills that move people up'), seeds ('owner/repo whose people each round reads'), location_unknown default, approve/reject, version, and restore_version. It compensates for the gaps, e.g. giving `preferred` semantics the schema omits entirely.

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?

States a specific verb+resource ('Change what a role's rounds keep to and look for, as a new version of its plan') and immediately clarifies the versioning model. An agent can distinguish it from get_search_plan, though differentiation from the sibling set_role_criteria is left implicit.

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 concrete context: pass version so concurrent changes aren't overwritten, use approve/reject with ids from get_search_plan, and a constraint ('Only change required constraints when the user asks'). No explicit when-not-to-use beyond that, so not a 5.

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