Skip to main content
Glama

cds_save_summary

Save a Markdown summary for a course subject and title, writing it to the correct period/subject folder so study notes stay organized and retrievable.

Instructions

Grava um resumo em <período>/<matéria>/resumos/.md.

subject é o campo materia de cds_list_materials (ex.: '2026.2/Cálculo II').

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": {
      "subject": "<subject>",
      "title": "<title>",
      "markdown": "<markdown>"
    },
    "name": "cds_save_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
subjectYes
markdownYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It does disclose the concrete side effect — a file written into a derived directory tree under `resumos/` — which is real value beyond the schema. However, it omits critical write semantics: whether an existing file is overwritten, whether missing directories are created, and whether authentication is required.

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?

Two short lines with the destination path front-loaded and the non-obvious parameter constraint immediately after. No filler, no repetition of the tool name, and nothing to trim.

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?

This is a mutating, three-parameter file-write tool with no annotations, no output schema, and no schema descriptions. The definition covers the target location and one parameter's source, but leaves overwrite behavior, directory creation, auth, and the meaning of `markdown` unaddressed — too much missing for a tool of this risk profile.

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 has to compensate. It does well for `subject` (maps to the `materia` field of cds_list_materials, with a concrete format example '2026.2/Cálculo II') and implicitly defines `title` as the filename stem, but `markdown` (the body content) is never described.

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 ("Grava um resumo") and resource, plus the exact destination path template `<período>/<matéria>/resumos/<title>.md`, which makes the operation immediately understandable. It doesn't explicitly position itself against the read-oriented siblings (e.g. cds_read_material), but the write nature is unambiguous.

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 agent learns it should have a summary to persist and that `subject` must come from cds_list_materials' `materia` field, which is a useful routing hint. There is no explicit when-to-use/when-not, no prerequisite mention (e.g. login), and no statement about what happens if a summary for that title already exists.

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