Skip to main content
Glama

get_entitlements

Read-only

Check whether the user can publish right now. Use it BEFORE create_listing, and whenever the user asks "how many listings can I still post?" or "do I have enough credit?". When you are about to publish, pass the role you will use in create_listing and read can_create_for_role — true means go ahead, false means show the user the pay_url instead of attempting the publish; omit role for a general overview. Always returns success, membership_key, included (true = listings are covered by the plan), current_active_listings, credit_cost (credits per listing; null when included), wallet_balance, can_pay_from_wallet, can_create_listing and pay_url (set only when the user cannot publish). Paid plans also return max_active_listings and remaining_slots (null = unlimited). The free tier instead caps supply and demand listings SEPARATELY and returns max_active_listings_per_intent, active_supply, active_demand, can_create_supply and can_create_demand — there, can_create_listing is true if EITHER side has room, which is why passing role matters: can_create_for_role answers for the side of that role only. Example: role="career_employer" returning can_create_for_role=false with a pay_url means send the user to that link instead of attempting the publish.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_entitlements"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoOptional. The role you are about to publish as — the same value you will pass to create_listing. When set, the response adds can_create_for_role for exactly that role. Example: "career_employer".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / role
      Added value: +{
      +  "description": "Optional. The role you are about to publish as — the same value you will pass to create_listing. When set, the response adds can_create_for_role for exactly that role. Example: \"career_employer\".",
      +  "enum": [
      +    "career_employer",
      +    "career_seeker",
      +    "estate_buyer",
      +    "estate_landlord",
      +    "estate_renter",
      +    "estate_seller",
      +    "service_client",
      +    "service_pro",
      +    "vehicle_buyer",
      +    "vehicle_letter",
      +    "vehicle_renter",
      +    "vehicle_seller"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[]
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description goes well beyond by disclosing that the call always succeeds, that pay_url appears only on failure, and that the free tier caps supply and demand separately so can_create_listing can be true while one side is blocked. Those are non-obvious behaviors an agent could not infer from annotations.

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

Conciseness3/5

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

Purpose and usage are front-loaded, which is right, but the second half enumerates nearly every response field in prose despite an output schema existing. The free-tier explanation is worth its length; the field-by-field listing largely duplicates structured data and could be trimmed.

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 single optional-enum read tool with annotations and an output schema, this covers purpose, timing, the role-vs-overview decision, and the failure-path action. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the enum is documented, but the description adds meaning the schema does not: omit `role` for a general overview, pass it when about to publish, and it materially changes the answer because free-tier eligibility is per-intent. It stops short of restating the enum values themselves, which is correct.

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 verb and resource ('Check whether the user can publish right now') and immediately separates itself from the write sibling create_listing. An agent can tell what this tool answers without opening the schema.

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 timing ('BEFORE create_listing'), names the user phrasings that should trigger it ('how many listings can I still post?'), explains the branching rule for whether to pass `role`, and says what to do on false (show pay_url, don't attempt the publish). That is when-to-use plus when-not-to-proceed in one place.

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.

Resources