Skip to main content
Glama

Register explicit project location

project_target_register

Register one owner-selected repository location after a metered authenticated native identity read. Supply stable project/target UUIDs; existing metadata must match. No clone, scan, install or environment fallback.

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": {
      "projectId": "<projectId>",
      "targetId": "<targetId>",
      "displayName": "<displayName>",
      "deviceId": "<deviceId>",
      "workspaceGrantId": "<workspaceGrantId>",
      "environment": "<environment>",
      "relativePath": "<relativePath>"
    },
    "name": "project_target_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdYes
targetIdYes
projectIdYes
displayNameYes
environmentYes
relativePathYes
workspaceGrantIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / deviceId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / projectId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / targetId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / workspaceGrantId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. First observed

TDQS

B3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description adds real behavioral context: a mandatory precondition of an authenticated identity read, the fact that the operation is metered, and that existing metadata must match. It also bounds scope by excluding clone/scan/install/environment fallback. It stops short of saying what happens on metadata mismatch or how failures surface.

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?

Three short sentences with no filler and the action front-loaded, which is good. However the densest, most important constraint (the prior identity read) is buried mid-sentence in jargon rather than stated plainly, so brevity costs clarity here.

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

Completeness2/5

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

Seven required IDs, no annotations describing inputs, no schema descriptions and no output schema — this is the case where the description needs to do the most work. An agent still cannot know what workspaceGrantId authorizes, what relativePath is relative to, or how environment selection affects registration, so it is incomplete for a mutation of this complexity.

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

Parameters2/5

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

Schema description coverage is 0% across seven required parameters, so the description must carry the load. It only characterizes projectId and targetId (must be stable UUIDs) and adds nothing about displayName, deviceId, workspaceGrantId, environment, or relativePath format — over half the parameters remain undefined anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource is present ("Register one owner-selected repository location"), so an agent can tell this is a registration tool rather than a reader. But the qualifying clause "after a metered authenticated native identity read" is dense jargon that obscures what actually happens, and no sibling is named directly; the exclusion list is the only differentiation.

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?

"No clone, scan, install or environment fallback" gives useful negative guidance and implicitly routes an agent away from resolve/scan paths. The precondition of a prior metered authenticated native identity read implies a sequence, but no tool is named as the required predecessor and no explicit when-not condition is stated.

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.