Skip to main content
Glama

Connect a Pexafy account

connect_account
Read-onlyIdempotent

Asks the host to offer its own flow for connecting a Pexafy account, when none is attached. Use it when the person asks to connect, link or sign in to a Pexafy account — including from the account button in the Pexafy grid — or wants more searches than the daily allowance available without an account.

When no account is attached, it returns an error result that carries an account-connection request for the host: the error is how that request is delivered, not a failure. A host that supports it shows its own account-connection prompt, which the person completes or dismisses; other hosts show only the result's text. Calling it again returns the same request. When an account is already attached, it says so and starts nothing.

It does not search, and searching does not require calling it. check_only is set by the Pexafy grid to read the state without opening a prompt; leave it unset when the person wants to connect or sign in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
check_onlyNoSet by the Pexafy results grid: `true` reports whether an account is connected — and the allowance in force — without opening the connection prompt. Leave it unset when the person wants to connect or sign in.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
budgetNoWhat is left of the current allowance, or null when it is not worth saying.
connectedNoWhether an account is attached to this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Discloses a genuinely non-obvious behavior: with no account attached it returns an error result that *carries* the connection request, and the error is the delivery mechanism, not a failure. It also states idempotency consequences (calling again returns the same request) and the no-op case when an account is already attached, consistent with the readOnly/idempotent annotations.

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?

Purpose and triggers are front-loaded, and the error-as-request paragraph earns its length because it prevents a misread. It runs slightly long and repeats the `check_only` guidance already present in the schema, so it is efficient but not maximally tight.

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 one-parameter tool with an output schema and safety annotations, the definition covers everything an agent needs: the trigger conditions, the no-account error semantics, idempotent repeat behavior, and the set-vs-unset rule for `check_only`. Return-value detail is rightly left to the output schema.

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 `check_only` is already fully documented in the schema, including its default. The description largely restates that the grid sets it and that it should be left unset otherwise, adding only slight emphasis rather than new semantics. Baseline 3 is appropriate.

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?

States a specific action and resource: it asks the host to run its own Pexafy account-connection flow. It implicitly separates itself from the four search/photo siblings, none of which deal with account state, and clarifies it is not a search tool.

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?

Gives explicit triggers (person asks to connect/link/sign in, or hits the account button, or wants more than the daily allowance) and an explicit exclusion ('It does not search, and searching does not require calling it'). It also spells out when to set versus leave unset `check_only`, leaving nothing to inference.

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.