Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

by fcoury

complete_oauth_flow

Exchanges the OAuth request token, request token secret, and verifier to finish authorization and obtain FatSecret access credentials.

Instructions

Complete the OAuth flow with the authorization code/verifier

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": {
      "requestToken": "<requestToken>",
      "requestTokenSecret": "<requestTokenSecret>",
      "verifier": "<verifier>"
    },
    "name": "complete_oauth_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
verifierYesThe OAuth verifier from the callback or authorization page
requestTokenYesThe request token from start_oauth_flow
requestTokenSecretYesThe request token secret from start_oauth_flow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses almost nothing: not whether credentials are persisted or returned, whether the call is single-use/idempotent, what happens on an expired token, or what the caller should do with the result. The reference to an 'authorization code' also hints at an input the schema does not have.

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 short sentence with no wasted words and the action front-loaded. It is efficient but so terse that conciseness shades into under-specification.

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?

For a multi-step authentication handshake with three required secrets, no annotations, and no output schema, the definition leaves the agent guessing about the result of a successful completion and the failure modes. The schema alone does not cover the flow-level context the agent needs.

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 three parameters are already fully documented, and the description adds nothing beyond naming the verifier. Baseline 3 applies; the mention of 'authorization code' introduces a mild inconsistency since no such parameter exists.

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: complete the OAuth flow using a verifier. It is clearly distinguishable from start_oauth_flow by the 'complete' framing and the required verifier/request-token inputs, though it never names that sibling explicitly.

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?

The dependency on start_oauth_flow is only implied indirectly through the schema field descriptions ('the request token from start_oauth_flow'), not stated in the description itself. There is no guidance on when this step should be run versus check_auth_status, or what to do if the flow has already been completed.

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