Skip to main content
Glama

Edit Research Document

research_document_update
DestructiveIdempotent

Edits a research document of a project: give title, document or both. A document you give replaces the whole stored one (target, notes, items and sources), so send every part you want to keep; a title alone leaves the document as it is. The kind cannot change, and evidence the dashboard attached to a brief is kept. Limits are those of research_document_save. Give the revision you read (research_document_get), or leave it out to edit the current version; if the document changed since that revision the call fails with a conflict. Free.

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": {
      "project_id": "<project_id>",
      "document_id": "<document_id>"
    },
    "name": "research_document_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title, 1-120 characters.
documentNoThe new document, replacing the stored one.
revisionNoThe revision of the research document you read (revision of research_document_get). Leave it out to use the current one. If it changed since, the call fails with a conflict and changes nothing.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID, as listed by projects_list; it must belong to the authenticated organization.
document_idYesDocument ID from research_documents_list.
idempotency_keyNoOptional and ignored: this call never charges, and a key does not make a repeated call safe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the destructiveHint/idempotentHint annotations: the document field is a full overwrite of target, notes, items and sources, the kind is immutable, brief-attached evidence is preserved, and a stale revision fails with a conflict while changing nothing. It also discloses the cost model ('Free') and that idempotency_key is ignored.

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-loaded with the core action and the destructive replacement rule, and most sentences carry unique information. However, the conflict behavior is stated twice (in the description and again in the revision schema), and the final 'Free.' fragment reads awkwardly attached to the preceding sentence.

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 destructive 7-parameter tool with a nested object and no output schema, the description covers replacement scope, immutability, conflict handling and preserved data. The one gap is deferring all validation limits to research_document_save ('Limits are those of research_document_save'), requiring the agent to consult another definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage already at 100%, the description still adds meaning the schema cannot: the title-only vs document-and-title interaction, the semantics of the optional revision (conflict behavior on staleness), and that verbosity only shapes output. The ignored idempotency_key is also explained rather than merely present.

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 ('Edits a research document of a project') and immediately scopes what can change (title, document, or both), including the invariant that 'the kind cannot change.' This lets an agent distinguish it from research_document_save/get without opening either schema.

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

Usage Guidelines4/5

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

Gives actionable conditions: send every part you want to keep because the document replaces wholesale, a title alone leaves the rest intact, and supply a revision from research_document_get or omit it to target the current version. It stops short of explicitly contrasting when to use this versus research_document_save, only pointing at that tool's limits by reference.

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