Skip to main content
Glama

Data Sources

get_data_sources
Read-onlyIdempotent

Ask where a person's records live, in one step. Renders the source picker card: every tool Spark knows in one searchable grid, grouped (online store or point of sale, marketplaces and wholesale, accounting, inventory system, warehouse or 3PL, purchasing, spreadsheets), each with what Spark brings in from it and its route, plus three answers that name no tool: somewhere the list does not show (saved by name), on paper or in their head, and starting fresh. The person ticks everything they use and saves once; the card calls save_data_sources itself and then asks for the coverage map. In a host without the card, offer picker's groups in one question and save every answer in one save_data_sources call. selectedTools, skippedTools and otherWays are what is saved now. needs lists each kind of record Spark needs to say what to order, when and from whom (sales history, two years or more is ideal; purchase history with suppliers, costs and lead times; current stock; products; bills of materials for an account that makes products) with why, its measured status and counts, the person's tools that may hold it, and other sources with their route (chat = start_integration_connect here, web = a Foundations link, migration, assisted = Spark's team sets it up, file = an import session) and next action. Once sources are saved, walk them one at a time with get_onboarding_state's connectQueue.next. When a source looks thin (sales history under two years, no supplier details), ask whether an older system or a spreadsheet holds more. coverage answers which chosen source brings in each kind the person's goals need (every kind when no goal is chosen): the best source and its route, a fallback, and the tools that hold it but Spark cannot import from. Optional kinds (what each item sells for) never block setup. Requires an operator (unpinned) credential.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_data_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
needsNo
pickerNo
summaryNo
coverageNo
nextKindNo
otherWaysNo
skippedToolsNo
selectedToolsNo
foundationsUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnlyHint/idempotent annotations, it discloses the card behavior, the three non-tool answers, the saved fields, the needs/coverage semantics, and the operator credential requirement. That is substantial behavioral context; the only ambiguity is that the card itself calls save_data_sources, but that is delegated to another tool rather than this read-only getter.

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 description front-loads the purpose and groups topics logically, but it is a very long, dense paragraph with nested parentheticals and run-on clauses. The content is largely relevant, yet it could be shortened and bulleted for easier scanning, so it is only adequately concise.

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 zero-parameter tool with an output schema and rich annotations, the description covers the workflow, fallback mode, saved state, coverage/needs output, and credential requirement. It is nearly complete, though the multi-purpose framing leaves some ambiguity that the output schema has to resolve.

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?

There are zero input parameters, so the baseline is 4; the description's mentions of selectedTools, skippedTools, and otherWays describe saved/returned state rather than input parameters. No additional parameter semantics are needed.

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 opening sentence states a specific action and resource ('Ask where a person's records live') and identifies the source-picker card it renders, so an agent can distinguish it from save_data_sources and get_onboarding_state. However, the purpose is diffused by also covering needs, coverage, and save behavior, making it less crisp than a single-purpose getter.

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?

It gives concrete usage contexts: use this to ask where records live in one step, fall back to grouped questions when the host cannot render the card, and use get_onboarding_state's connectQueue.next after saving. It names save_data_sources as the save path but does not explicitly rule out sibling coverage/readiness tools.

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