Skip to main content
Glama

put_grade

PUT /queries/id/grades/key: grade the item at key (as get_results returns it, e.g. "42") for the query id. score is from -1 (wrong) to 1 (right), anything between for partly right; it trains DNA and replaces the grade before. Grade the results you judged, typically the first few.

Input Schema

NameRequiredDescriptionDefault
idYes
keyYes
scoreYes
api_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two important traits: the grade trains DNA (a side effect beyond simple storage) and replaces any prior grade (overwrite, not append). It omits permission/auth expectations and doesn't mention failure behavior, but the overwrite and training side effects are the non-obvious facts an agent most needs.

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-loads the route and the operation, then the scoring scale, then the workflow hint — a sensible ordering with little waste. The repeated route notation and parenthetical example are slightly verbose but each clause carries 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?

For a mutation tool with an output schema (so return values needn't be explained) and 4 parameters, the description covers the operation, the value scale, the overwrite behavior, and the training side effect. The remaining gap is the undocumented `api_key` parameter and any auth constraints, which is notable but not fatal.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must supply meaning and it does for the two critical parameters: `key` is defined as get_results' identifier format (e.g. "42") and `score` gets an explicit -1 to 1 scale with partial-credit semantics. `id` is inferable as the query id from the route, but `api_key` is never addressed, which keeps this short of a 5.

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 (grade) and resource (the item at `key` for query `id`), and the name plus description together cleanly separate it from get_grade, list_grades, and delete_grade. The agent can tell exactly what operation is performed without opening 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?

"Grade the results you judged, typically the first few" gives a clear usage context and ties the key value back to get_results, so the agent knows the call follows a results-review workflow. It doesn't explicitly state exclusions (e.g. that re-grading overwrites rather than appends is mentioned, but no guidance on when to delete versus re-put), leaving a small gap.

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