Skip to main content
Glama

Get userInviteCode

codecks_get_user_invite_code
Read-onlyIdempotent

Retrieve a single user invite code by ID and optionally choose fields or include related account and creator data for inspection or management.

Instructions

Get a single userInviteCode by ID with optional field selection.

Available fields: accessToProjectIds, createdAt, isActive, role, token, useCount, validUntil Relations: account, creator

Example selection: ["accessToProjectIds", "createdAt", "isActive"]

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": {
      "id": "<id>"
    },
    "name": "codecks_get_user_invite_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesModel ID
selectionNoSelection array (fields/relations)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
include_relationsNoAttempt safe first-level relation expansion with guarded fallback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds the response field inventory and relation names, which is useful, but says nothing about behavior on a missing/invalid ID or about sensitive fields like token.

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?

Front-loaded purpose sentence, then a compact field list, relation list, and one worked example. Every element is functional; the phrasing is terse to the point of being list-like rather than prose, but nothing is wasted.

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?

With no output schema, the enumerated fields and relations effectively stand in for a return-value description, and response_format/include_relations are documented in the schema. The main omission is what the returned object looks like when selection narrows fields.

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%, so the baseline is 3, but the description goes further by enumerating the selectable fields and relations and giving a concrete example selection array. That meaningfully extends the schema's terse 'Selection array (fields/relations)' entry.

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?

The description states a specific verb and resource ('Get a single userInviteCode by ID'), making it clearly a single-record retrieval. It is distinguishable from the list sibling by the word 'single', 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?

Usage is implied: use this when you have an ID and need one invite code, with optional narrowing via field selection. There is no explicit statement of when to prefer the list tool, nor any prerequisites such as permissions needed to read a token.

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

Deploy Server

Other Tools