Skip to main content
Glama

save_corpus

Create or overwrite a saved Diogenes corpus from selected authors and works, writing it to Diogenes' corpora file so it appears in the app.

Instructions

Create (or with overwrite, replace) a saved Diogenes corpus. It is written to Diogenes' own corpora file, so it also appears in the app. Give authors as a list of author numbers, and/or works as {"author": ["work", ...]}.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
worksNoSpecific works per author.
authorsNoAuthors included in full.
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 key behavioral facts: the corpus is written to Diogenes' own corpora file and therefore shows up in the app, and 'overwrite' replaces an existing corpus. It stops short of saying whether a same-name save without overwrite errors or duplicates, and whether replacement is recoverable.

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?

Two tight sentences, front-loaded with the create/replace distinction followed by the side effect and parameter formats. No filler, though the parenthetical overwrite clause and the trailing parameter note read slightly awkwardly.

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

Completeness3/5

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

Given a nested-object parameter and no output schema or annotations, the description covers persistence and parameter shapes but omits the return value, name-collision behavior, and what 'authors included in full' means for works. Adequate but with clear gaps for a mutation tool with a nested parameter.

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 coverage is 50%, so the description must compensate, and it does: authors are given as author numbers (IDs, not names), works is explained with an inline format example {"author": ["work", ...]} that clarifies the nested author-to-works mapping beyond the schema, and overwrite is described in context. Only 'name' is left to the schema.

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+resource ('Create ... a saved Diogenes corpus') and explicitly describes the overwrite variant as a replacement. It does not differentiate itself from siblings like list_corpora or delete_corpus, so an agent gets the action but not the sibling boundary.

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 by the verb: save a corpus when you want it persisted. There is no when-not-to-use guidance, no mention of overwrite preconditions (e.g., behavior when the name already exists), and no routing to delete_corpus/list_corpora.

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