Skip to main content
Glama

Get userInvitation

codecks_get_user_invitation
Read-onlyIdempotent

Retrieve a single Codecks user invitation by ID with optional field selection and relation expansion. Use it to inspect invitation details such as email, role, and project access.

Instructions

Get a single userInvitation by ID with optional field selection.

Available fields: accessToProjectIds, createdAt, email, role Relations: account, inviter

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

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_invitation"
  }
}

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 useful returnable field and relation names plus an example selection, but says nothing about behavior when the ID is unknown or how include_relations fallback works.

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 with the core action in one sentence, then the field list and one example. Slightly redundant since the example repeats three of the four listed fields, but it is short and free of filler.

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?

No output schema exists, so the description carries the return-shape burden, and it does so by listing selectable fields and relations. Remaining gaps—error behavior on missing IDs and how include_relations guarded fallback manifests—are minor for a simple read tool.

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 baseline is 3, but the description adds meaning beyond the schema by enumerating the selectable fields (accessToProjectIds, createdAt, email, role) and relations (account, inviter), which the schema only refers to generically as 'fields/relations'. The example selection further clarifies the expected array shape.

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?

States a specific verb and resource: 'Get a single userInvitation by ID', plus the optional field-selection capability. The phrase 'single ... by ID' implicitly distinguishes it from the sibling codecks_list_user_invitation, but no sibling is named 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 rather than stated: an agent can infer this is the by-ID retrieval path versus the list variant, but there is no explicit when-to-use, when-not-to-use, or named alternative. Callers must supply an id; the description does not discuss what to do if only a list or filter is available.

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