Skip to main content
Glama

Get userProjectAccess

codecks_get_user_project_access
Read-onlyIdempotent

Retrieve a user's project access record by ID, with optional field selection and safe relation expansion, to view role and project-user details in markdown or JSON.

Instructions

Get a single userProjectAccess by ID with optional field selection.

Available fields: projectRole, role Relations: project, user

Example selection: ["projectRole", "role"]

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

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.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered without help from the description. The description's additional context is useful, but it leaves out what happens when selection is omitted (default field set), how include_relations behaves, and what a guarded fallback means.

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?

The entry is front-loaded with the core operation in the first sentence and followed by compact supporting lists. The example line is a nice touch, though it partially repeats the field list and could be folded in.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-by-ID tool with rich annotations and 100% schema coverage, most needs are met, and the field and relation vocabulary is a real addition. What is missing is the return shape when selection is omitted, and there is no output schema to compensate.

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 schema has full coverage, so the baseline is 3. The description exceeds that baseline by naming the valid field values (projectRole, role) and relations (project, user) for the selection array, which the schema only calls "fields/relations." It still adds no meaning for response_format or include_relations beyond their schema text.

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 uses a specific verb and resource: "Get a single userProjectAccess by ID," which tells an agent this is a single-record fetch rather than a list. The word "single" implicitly separates it from codecks_list_user_project_access, but it never names that sibling, so the differentiation depends on inference.

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 phrase "with optional field selection" hints at when the selection parameter is useful, and the example shows a valid use. However, there is no explicit when-to-use guidance, no guidance on when to use a list tool instead, and no statement of prerequisites or authentication needs.

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