Skip to main content
Glama

Afterword

Save a note about the user's work

record_work

Save one short note about a research problem to the user's Afterword account, so Afterword can find papers that help. Call it only when the user asks you to save a problem to Afterword, or says yes after you offer to save one they described. Don't save anything they haven't agreed to. In the scheduled task the user created to sync Afterword, the task is their yes: pass source "daily_sync". One note per distinct problem, in plain words. Skip pure code or tooling problems unless a paper could help. After saving, add one line: "Saved to Afterword: ". Never save secrets, credentials, or other people's names or personal details.

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": {
      "kind": "<kind>",
      "summary": "<summary>"
    },
    "name": "record_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesworking_on: a project or task in progress; stuck: a problem they can't solve; question: an open question
angleNoThe research question a published paper could help with. Leave it out for pure code or tooling problems.
detailNoContext, under 60 words
sourceNo"daily_sync" only inside the scheduled task the user created to sync Afterword. Leave it out in a chat.
projectNoThe project's name, if the user has one
summaryYesThe note itself, under 25 words
keywordsNoTerms a paper on that angle would use

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-idempotent, closed-world write; the description adds consent gating, a one-note-per-distinct-problem constraint, a prohibition on secrets/credentials/PII, and a required user-facing confirmation line. It does not say whether duplicate notes are merged or how failures surface, so not quite full marks.

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?

Front-loads the action and purpose, then layers consent, exception, and safety constraints in short sentences. Slightly dense with imperatives, but each sentence carries a distinct rule rather than restating structured fields.

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

Completeness5/5

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

For a write tool with an enum-heavy seven-parameter schema and no output schema, the description covers the decisions an agent must make (consent, deduplication, content hygiene, the special scheduled-task path) and states what to tell the user afterwards.

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 100%, so the baseline is 3; the description goes beyond it by tying the 'daily_sync' source value to the scheduled-task context and by indicating the 'angle' field should be omitted for code/tooling problems. Guidance is uneven across the seven parameters, but it adds real meaning.

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

Purpose5/5

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

States a specific verb and resource ('save one short note about a research problem to the user's Afterword account') plus the downstream purpose (Afterword finds helpful papers). This clearly separates it from read-oriented siblings like get_work_context and find_papers.

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

Usage Guidelines5/5

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

Explicit when-to-call (user asks, or says yes after an offer), explicit when-not ('Don't save anything they haven't agreed to'), an explicit exception for the scheduled sync task with the source value to pass, and an exclusion for pure code/tooling problems. Little is left to inference.

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