Skip to main content
Glama

Save top criteria

set_criteria

Save up to five ranked job criteria with short labels and details in the user's own words. Sending the full set replaces all previously saved criteria, so include every item to keep.

Instructions

Save the user's top criteria for a job: 1 to 5 items, most important first. Each has a short label (up to 80 characters) and a detail in the user's own words (up to 300 characters). Labels must be different. Saving REPLACES the whole saved set, so send every criterion the user wants to keep.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "criteria": "<criteria>"
    },
    "name": "set_criteria"
  }
}

Input Schema

NameRequiredDescriptionDefault
criteriaYesThe full set, in order of importance.

Output Schema

NameRequiredDescriptionDefault
criteriaYesThe saved criteria in position order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden; it does disclose the crucial destructive semantics that saving replaces the whole saved set, which is exactly the kind of context annotations would otherwise supply. It leaves out failure behavior (e.g., what happens on duplicate labels or oversized input) and any mention of permissions, so it adds real value but is not complete.

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?

Two compact sentences with the replacement warning front-loaded and no filler. The limits and the destructive behavior are packed in without 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 single-parameter write tool with an output schema and no annotations, the description covers ordering, cardinality, field limits, uniqueness, and replace semantics, which is enough to call it correctly. Only error/failure handling is unaddressed.

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?

Schema coverage is 100% and the schema already documents label and detail with examples, so the baseline applies. The description does add constraints absent from the schema (1-5 items, 80-character labels, 300-character details, unique labels), which is meaningful, but it does not tie these limits back to the individual nested fields in a way the schema doesn't already sketch.

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 (Save) and resource (the user's top criteria for a job), plus scope (1-5 items, most important first). An agent can tell this is the write path versus the read-oriented siblings like get_criteria and list_criteria_suggestions, though the description never names an alternative explicitly.

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 invocation guidance: send the complete set because saving replaces everything, ordered by importance. It stops short of explicitly naming when to use get_criteria first or how this relates to list_criteria_suggestions, so routing is implied rather than stated.

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