Skip to main content
Glama

freeze label set

freeze_label_set

Freeze a golden set to seal its membership with a hash and compute inter-rater agreement (kappa), a required step before judges can calibrate on the set.

Instructions

Freeze a golden set: seal its membership with a hash and measure inter-rater agreement (kappa) on its members — required before a judge can calibrate on it. POST /v1/label_sets/{id}/freeze (API-key scope: evals:write). Returns: 200 with the updated set object: { id, name, description, size, membership_hash (sha256 of sorted member ids), frozen_at (ISO), kappa: number|null, agreement: number|null, kappa_n: integer|null, rater_count: integer, attached_to: [ { id, name } ], created_at }. Notes: No body. Re-freezing an already-frozen set re-measures kappa/agreement/rater_count but keeps the original frozen_at and membership. kappa is null (and reported as null, never as good) when fewer than two raters' blind re-grades exist inside the set. 400 if inter-rater stats are unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe golden set id (workspace-scoped; 404 'Golden set not found' otherwise).
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

Discloses important behaviors beyond annotations: re-freezing re-measures kappa but preserves original frozen_at and membership, kappa is null rather than 'good' when insufficient raters exist, 400 is returned when inter-rater stats are unavailable, and the endpoint requires evals:write scope. This is rich, honest behavioral context.

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?

Front-loaded with the core purpose, then organized into endpoint, response shape, and edge-case notes. Every sentence carries useful information; there is no filler or repetition.

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?

With no output schema, the description fully compensates by enumerating the complete returned object and its field types. It also covers idempotency nuances, null semantics, and error conditions, making the tool's behavior fully understandable for an agent.

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 id parameter is already documented as workspace-scoped with a 404 case. The description adds the endpoint path and no-body requirement, but does not substantially expand parameter meaning 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?

States a specific verb and resource: freeze a golden set, seal membership with a hash, and measure inter-rater agreement (kappa). The unique behavior clearly distinguishes it from sibling label-set tools like create_label_set or attach_label_set.

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?

Provides clear context by saying freezing is required before a judge can calibrate on the set, and explains re-freezing behavior. It does not explicitly name alternatives or state when-not-to-use, but the usage context is unmistakable.

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

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/omnia-v/errorbar-mcp'

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