Skip to main content
Glama

Connect a data source

connect_source

Add the user's data to datatomcp. With a url (a public CSV or Excel link, or a Google Sheet shared as anyone with the link), the data is added now and you can query it at once. Otherwise you get one link to give the user: it opens the right form (Google Sheet picker, file upload, PostgreSQL, MySQL, Stripe, HubSpot, Airtable). Credentials are typed there, never in the chat. When the user says it's done, call workspace_overview and carry on with their question. Data stays read-only.

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": {
      "source": "<source>"
    },
    "name": "connect_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOnly for link or google_sheet: a public link to the file or sheet
nameNo
sourceYes
workspace_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false, idempotentHint=false), the description discloses the credential-handling model ("Credentials are typed there, never in the chat"), the fact that exactly one link is returned, and that connected data stays read-only. These are behavioral facts an agent could not derive from the structured fields alone.

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

Conciseness5/5

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

Roughly five sentences, front-loaded with the primary action and branching cleanly into the URL case, the link case, the follow-up, and the read-only guarantee. Each sentence adds a distinct decision-relevant fact, and the parenthetical connector list is compact rather than padded.

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?

With no output schema, the description does the work of explaining both outcomes (immediate queryability vs. a single returned link) and the post-handoff step, which is strong for a connection-creating tool. It stops short of saying what identifier or confirmation comes back on the direct-URL path, leaving a small gap in how to proceed after an immediate import.

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 only 25%, so the description has to carry the load. It does add real meaning for `url` (accepted formats, must be public/anyone-with-link) and implicitly enumerates the `source` values via the connector list, but `name` and `workspace_id` receive no treatment in either the schema or the description.

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 ("Add the user's data to datatomcp") and immediately splits the behavior into two concrete modes: an immediate-import path when a URL is supplied, and a handoff-link path otherwise. This is clearly distinguishable from siblings such as workspace_overview, which it explicitly frames as a follow-up step rather than a substitute.

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 states exactly when the URL path applies ("a public CSV or Excel link, or a Google Sheet shared as anyone with the link") and what to do otherwise, and it closes the loop by naming the follow-up call ("When the user says it's done, call workspace_overview"). There is no ambiguity about which branch to take or what happens next.

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.