Skip to main content
Glama

get_question_collection_summary

Returns a structured summary for a collection ID, including total exams and PDFs, semester and exam-type distributions, file sizes, and download failures so you can verify collection results.

Instructions

Returns a structured summary of a collection session by collection_id: total exams found, total PDFs collected, semester distribution, exam type distribution, file sizes, and any download failures.

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": {
      "collection_id": "<collection_id>"
    },
    "name": "get_question_collection_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
collection_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses that failures are surfaced ('any download failures'), which implies a partial-success scenario rather than hard erroring, and 'Returns' signals a read operation. It says nothing about permissions, behavior for an unknown collection_id, or whether the summary is computed live versus cached.

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 with the primary action first, followed by the payload contents. The field enumeration overlaps with the existing output schema, so a small portion of the sentence does not earn its place.

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?

The tool is simple: one required string parameter and an output schema that already defines return values. The description covers purpose and payload well; the only real omissions are the origin/format of collection_id and the unknown-id behavior, which are minor for a read-only single-parameter tool.

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 description coverage is 0%, so the description is the only source of parameter meaning, and 'by collection_id' merely restates the parameter name. It does not say how a collection_id is obtained (presumably from collect_questions) or what format it takes, leaving an avoidable gap.

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 and resource ('Returns a structured summary of a collection session') and enumerates the contents, so an agent can distinguish it from collect_questions or list_collected_files without opening a schema. It stops short of explicitly naming a sibling, which keeps it at 4 rather than 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?

Usage is only implied: the name and description suggest calling it after a collection run to review results, but there is no explicit when-to-use, when-not-to-use, or routing to an alternative such as list_collected_files. An agent must infer the workflow position itself.

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