Skip to main content
Glama
rachid598

leboncoin-seller-mcp

by rachid598

Check the Leboncoin session

session_status
Read-only

Check if a usable Leboncoin session exists without throwing. Returns authentication state to guide next steps, including whether you must sign in manually or if the failure is due to bot protection.

Instructions

Reports whether a usable Leboncoin session exists, without throwing. States: authenticated, not_authenticated (never signed in), session_expired (Leboncoin rejected the session), network_error (could not reach Leboncoin), leboncoin_unavailable (5xx), datadome_blocked (bot protection refused the browser - NOT an expired session, and signing in again will not fix it), rate_limited, unknown. Only tell the user to sign in again when reauthenticationRequired is true. Signing in requires a human: they run leboncoin-seller login-manual --country fr and sign in themselves. Never ask for their password.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNoLeboncoin site to use (fr). Defaults to the server's configured site.
Behavior5/5

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

Adds rich behavioral context beyond annotations: the tool doesn't throw, defines what each state means, and warns that datadome_blocked is not fixed by reauthentication. It also tells the agent never to ask for a password. This complements the annotations (readOnly, openWorld) without contradiction.

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?

The description is dense yet well-structured, with a clear state list and follow-up actions. Every sentence adds value, including the nuanced datadome_blocked distinction and the manual login command. No redundancy.

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?

Despite having no output schema, the description fully specifies all possible return states and the correct user-facing action for each. It also includes the manual login flow and a security note, making it self-contained for an agent.

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?

The schema already provides 100% coverage for the single 'country' parameter. The description does not add parameter-specific details, but no gap exists, so a baseline of 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?

The description clearly states the tool 'Reports whether a usable Leboncoin session exists' and enumerates specific states, making it distinct from siblings like whoami or diagnose. The verb 'Reports' and the resource 'session' are precise.

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?

The description gives actionable guidance: only prompt sign-in when reauthenticationRequired is true, and provides the exact manual login command. However, it doesn't explicitly compare with alternative tools or state when to choose this over them, so it's clear but lacks exclusionary guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rachid598/mcplebon'

If you have feedback or need assistance with the MCP directory API, please join our Discord server