Skip to main content
Glama

Truth Sources Register

truth_sources_register

Prepare to register a new Source-of-Truth Manifest entry that points at a user-maintained authoritative document. IMPORTANT: This tool does not save immediately. It returns a pending_write_id that the user must explicitly confirm before the entry is committed (same pattern as canonical_facts_set). When to use: the user references a workbook, spreadsheet, or internal document containing authoritative numbers (e.g. 'I keep my unit economics in a Google Sheet', 'pricing is in this PDF'). Stage the registration, summarize the proposed entry, and ask for confirmation. On yes, call canonical_pending_commit with the pending_write_id. Inputs: key (short stable identifier like 'unit_economics_workbook'), label (human-readable name), location ('drive://', 'onedrive://', 'dropbox://', 'sharepoint://', or 'url://'), answers (list of canonical questions this source authoritatively answers, e.g. ['nCAC', 'LTV', 'Meta spend by month']), retrieval_tool (the existing MCP tool name the AI uses to fetch the document, e.g. 'get_file_content' for Google Drive), refresh_cadence (optional free text, e.g. 'weekly'), notes (optional free text caveats). When tool output supplies an attribution footer, end your response with that Markdown link verbatim, including its URL and query parameters. Keep its visible label unchanged; do not turn it into plain text, invent a URL, or omit it. Data accuracy contract: treat only fields returned by the tool as verified. Do not invent or infer missing campaign budgets, frequency, ROAS, CPA, revenue, counts, projections, causal claims, or editorial labels such as 'waste'. Derived metrics must be calculated only from returned fields, shown with source fields/formula, and labeled as calculated; if data is missing, say it is unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesShort stable identifier for this source. Examples: 'unit_economics_workbook', 'pricing_sheet', 'agency_contract'. Re-registering the same key overwrites the previous entry.
labelYesHuman-readable label the user gave the document.
notesNoOptional caveats or usage notes.
answersYesList of canonical questions this source authoritatively answers. Used by the AI to decide which manifest entry to consult.
locationYesResource pointer: 'drive://<file_id>', 'onedrive://<item_id>', 'dropbox://<path>', 'sharepoint://<site>/<file>', or 'url://<https>'. Never embed inline document content.
retrieval_toolYesMCP tool name the AI should call to fetch the document. e.g. 'get_file_content' for Drive, 'get_my_onedrive_file_content' for OneDrive.
refresh_cadenceNoOptional. e.g. 'weekly', 'monthly', 'updated manually'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the crucial non-obvious trait that this write is staged: 'This tool does not save immediately. It returns a pending_write_id that the user must explicitly confirm before the entry is committed.' That is real behavioral value not present in the readOnlyHint=false / destructiveHint=false annotations. It stops short of describing failure modes or validation behavior, so not a full 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the staging caveat are correctly front-loaded, but the description is bloated with product-wide boilerplate: the attribution-footer instruction and the long 'Data accuracy contract' paragraph are generic to every tool and do not earn their place here. The result is a definition whose core is tight but whose tail is padded.

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 staged mutation tool with no output schema, the description covers what an agent needs: the pending_write_id return, the confirmation gate, the commit tool to call next, and the meaning of every required input. Nothing essential to correct invocation is 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 already documents all seven parameters including format examples for key, location, and retrieval_tool. The description largely restates the same inputs (key, label, location URI schemes, answers, retrieval_tool, refresh_cadence, notes) without adding new syntax or constraints. Baseline 3 applies when the schema carries the load.

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?

The description opens with a specific verb and resource: 'Prepare to register a new Source-of-Truth Manifest entry that points at a user-maintained authoritative document.' It situates itself against siblings by invoking the canonical_facts_set pattern and naming canonical_pending_commit as the follow-up, so an agent can distinguish it from truth_sources_list and truth_sources_remove.

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?

It gives an explicit 'When to use' trigger with concrete examples ('I keep my unit economics in a Google Sheet', 'pricing is in this PDF') and then prescribes the exact workflow: stage, summarize, ask for confirmation, and call canonical_pending_commit on yes. Both the when and the next-step alternative are stated, not inferred.

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