Skip to main content
Glama
Linked-API
by Linked-API

admin_get_subscription_status

Retrieve your current LinkedIn subscription status, including trial eligibility and cancellation schedule.

Instructions

Get current subscription status, trial eligibility, and cancellation schedule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute() method that calls admin.subscription.getStatus() to retrieve the current subscription status, trial eligibility, and cancellation schedule.
    public override async execute({
      admin,
    }: {
      admin: LinkedApiAdmin;
      args: Record<string, never>;
    }): Promise<TSubscriptionStatus> {
      return await admin.subscription.getStatus();
    }
  • Empty Zod schema (z.object({})) indicating no input parameters are required for this tool.
    protected readonly schema = z.object({});
  • Registration of AdminGetSubscriptionStatusTool in the adminTools array within LinkedApiTools constructor.
    new AdminGetSubscriptionStatusTool(),
  • Import statement for AdminGetSubscriptionStatusTool class.
    import { AdminGetSubscriptionStatusTool } from './tools/admin-get-subscription-status.js';
  • Abstract AdminTool base class that AdminGetSubscriptionStatusTool extends, providing the validate() and execute() contract.
    export abstract class AdminTool<TParams, TResult> {
      public abstract readonly name: string;
      protected abstract readonly schema: z.ZodSchema;
    
      public abstract getTool(): Tool;
    
      public validate(args: unknown): TParams {
        return this.schema.parse(args) as TParams;
      }
    
      public abstract execute({
        admin,
        args,
      }: {
        admin: LinkedApiAdmin;
        args: TParams;
      }): Promise<TResult>;
    }
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It correctly identifies the tool as a retrieval operation, but does not explicitly state that it is read-only or require authentication, leaving some uncertainty for the agent.

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 a single sentence, front-loading the verb and key nouns with zero extraneous words—every word earns its place.

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 parameter-less tool with no output schema, the description adequately conveys what the tool retrieves. However, more detail on the return format or data structure would enhance completeness if output schema were absent.

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?

The input schema has no parameters (coverage 100%), so the description adds meaning by listing the retrieved fields (status, trial eligibility, cancellation schedule), exceeding the baseline of 3 for high schema coverage.

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 uses a specific verb ('get') and resource ('subscription status, trial eligibility, cancellation schedule'), clearly distinguishing it from sibling tools like 'admin_get_accounts' or 'admin_get_limits_usage' which serve different purposes.

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 description implies usage for checking subscription status, but it does not explicitly state when to use this tool versus alternatives (e.g., 'admin_get_limits_usage' for billing limits) nor provides any prerequisite or exclusion context.

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/Linked-API/linkedapi-mcp'

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