Skip to main content
Glama

get_grade

GET /queries/id/grades/key: the query's grade of the item at key.

Input Schema

NameRequiredDescriptionDefault
idYes
keyYes
api_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. The 'GET' prefix weakly signals a read operation, but there is no mention of authentication (despite an `api_key` parameter), what happens when no grade exists for the key, or whether the value is cached/derived.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no padding, but the 'GET /queries/id/grades/key:' prefix is route boilerplate that consumes the most prominent position without adding agent-relevant meaning.

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

Completeness2/5

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

An output schema exists, so return values need not be described, but for a 3-parameter tool with zero schema coverage the definition should still clarify parameter meaning, auth expectations, and the not-found case. Those gaps make it inadequate for correct invocation in ambiguous situations.

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

Parameters2/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 compensate. It only loosely implies that `id` is a query identifier and `key` is an item key; formats, whether `id` is a query name or ID, and the role of the optional `api_key` are all left undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (a grade) and its scope (the grade of the item at `key` within a query), so the basic purpose is inferable. However, it leads with a raw REST route rather than a clear verb+resource statement, and it never says what distinguishes this from `list_grades` or `get_results`.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance is given. With siblings like `list_grades`, `put_grade`, and `delete_grade` present, an agent gets no help deciding when to fetch a single grade versus listing them, and no prerequisites or exclusions are stated.

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