Skip to main content
Glama

Update source metadata

source_update_metadata
Idempotent

Update a dataset's descriptive, temporal, provenance, and review metadata.

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": {
      "sourceId": "<sourceId>",
      "patch": "<patch>"
    },
    "name": "source_update_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes
sourceIdYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered externally. The description adds no behavior beyond that: it never explains that the call is a partial patch (fields omitted stay untouched), whether null clears a value versus being ignored, or what happens if sourceId does not resolve. For a mutation with a 21-field optional patch object, that silence is a real gap.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though the terseness leaves the definition leaning almost entirely on the schema for meaning.

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?

The tool is complex — a nested patch object with date-time, date, enum and nullable variants plus revision fields like reviewStatus and lastReviewedAt — and there is no output schema, so the description must carry the burden. It gives no indication of whether the updated record is returned, how review fields interact, or what validation failures look like.

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

Parameters2/5

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

Schema description coverage is only 33%, so the description needed to compensate but does not. The four listed metadata families loosely map to field groups, yet the critical 'patch' merge/replace semantics, the null-clearing convention, and the conversation_id parameter go entirely unexplained in both schema and description.

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?

The description names a specific verb ('Update') and resource ('a dataset's ... metadata') and enumerates the metadata families being touched (descriptive, temporal, provenance, review). It stops short of distinguishing itself from close siblings such as collection_update_metadata, so the agent must infer the dataset-vs-collection boundary from the name alone.

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 when-to-use guidance, no statement of prerequisites (e.g. that the source must already exist or be owned by the caller), and no mention of alternatives such as collection_update_metadata or project_update_* tools. The agent is left to guess the selection criteria entirely from the tool name.

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