Skip to main content
Glama

One Task

get_task
Read-onlyIdempotent

Reads one Task: its description, Files and deadline. Students get their own Submission and released Feedback; Lecturers get every Submission and who hasn't handed in yet; on a Task marked anonymously, those whose Feedback isn't released come by Kennziffer only.

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": {
      "courseId": "<courseId>",
      "taskId": "<taskId>"
    },
    "name": "get_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesThe Task's id, from list_tasks
courseIdYesThe Course's id, from list_courses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description adds real behavioral context the agent could not otherwise know: submissions and feedback are scoped by role, lecturers see everyone and who hasn't handed in, and anonymously marked tasks expose only a Kennziffer where feedback is unreleased. It stops short of error behavior for missing tasks or insufficient permissions.

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?

A single front-loaded sentence that begins with the core action, followed by the role-conditional clauses. It is dense but each clause carries distinct information; the semicolon-chained structure makes it slightly harder to parse than it needs to be.

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 two-parameter single-item read with no output schema, the description is nearly complete: it names the returned fields and explains how the payload varies by role and anonymity setting. The only gap is undefined behavior on a nonexistent task or unauthorized access.

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 both parameters already document their source ("from list_tasks", "from list_courses"), so the schema does the heavy lifting. The description adds no additional syntax, format, or provenance detail for either parameter, making the baseline 3 correct.

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?

Opens with a specific verb and resource ("Reads one Task") and immediately enumerates the fields returned ("its description, Files and deadline"), which clearly distinguishes it from list-style siblings such as list_tasks. No sibling is named explicitly, so it falls just short of a 5.

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

Usage Guidelines3/5

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

The description never states when to call this instead of list_tasks or a file/member listing tool; usage is only implied by "one Task". It does, however, spell out conditional behavior per role (student vs lecturer), which indirectly tells the agent what to expect in different contexts.

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.