Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

authenticate

Authenticate with DataBody using a browser-based OAuth flow or direct email and password login to securely connect your health tracking account.

Instructions

Authenticate with DataBody. Use browser-based OAuth flow (recommended) or provide email/password for direct login.

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": {
      "method": "<method>"
    },
    "name": "authenticate"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address (required for password method)
methodYesAuthentication method: 'browser' opens a browser for OAuth, 'password' uses email/password directly
passwordNoPassword (required for password method)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose one meaningful side effect — the browser method 'opens a browser for OAuth' — and that the password method uses credentials directly, but it says nothing about what a successful call yields (token? session?), credential handling, expiry, or failure behavior.

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?

Two short sentences, front-loaded with the action and immediately followed by the two supported paths. Nothing is redundant and there is no filler.

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 small three-parameter authentication tool with no annotations and no output schema, the description covers both flows and the recommended default well enough to call it correctly. The remaining gap is the return value — with no output schema, an agent still cannot tell what a successful authentication produces.

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%, and the enum for method is already documented in the schema, so the baseline is 3. The description's added value is the 'recommended' ranking of browser over password, which is a genuine semantic hint not present in the schema.

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 ('Authenticate with DataBody') and immediately enumerates the two supported flows, so an agent knows exactly what the tool does. It does not name or distinguish itself from the sibling auth_status, which is the main nearby alternative an agent might confuse it with.

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

Usage Guidelines3/5

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

Adds a real usage preference by marking the browser OAuth flow as 'recommended' and by tying each parameter value to a flow. However, it gives no prerequisites (e.g., that this must be called before other authenticated tools) and never mentions auth_status as the place to check existing sessions, so the when-to-use boundary is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools