Skip to main content
Glama

Update document source

update_document_source
Idempotent

Update a document_source by id. Only the fields you pass are changed.

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

Input Schema

NameRequiredDescriptionDefault
idYesdocument_source id
nameNoname
configNoconfig
statusNostatus
folder_pathNofolder_path
scan_interval_minutesNoscan_interval_minutes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true and destructive=false, so the safety profile is supplied. The description's one real addition is partial-update semantics ('only the fields you pass are changed'), which is valuable and not in the annotations. It is silent on what happens to nested config (replace vs deep merge), on invalid status values, and on permission requirements for a mutation tool.

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 short sentences with the resource and the partial-update rule front-loaded, and no filler. Nothing unnecessary is present, though there is equally little of substance.

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?

With six parameters, a nested object and no output schema, the definition should at minimum explain the effect of the nested config field and the result of the call. The partial-update rule covers the flat optional fields, but nested-object semantics and any return information are missing.

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 100%, so the schema names all six parameters, giving a baseline of 3. The description adds only the 'by id' identification and the fact that unpassed optional fields are left untouched; it adds nothing about the nested config object's merge behavior, which is the most ambiguous parameter.

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 ('Update a document_source') scoped by id, so an agent can tell it mutates an existing source rather than creating or fetching one. It does not explicitly differentiate itself from nearby siblings such as update_document or update_incoming_document, relying on the resource name alone to disambiguate.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the sibling update tools, nor any prerequisites (e.g., the source must already exist). 'Only the fields you pass are changed' describes semantics of the call, not when to choose it.

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