Skip to main content
Glama

Make an AI app sign-in

create_sign_in_client

Makes a sign-in for an AI app that needs a client ID and secret of its own (Copilot Studio's Manual OAuth). The answer has the Client ID, the secret, the addresses to paste and the steps in the app. The secret is shown once and CodeGene keeps only a scrambled copy, so give it to the person straight away and never write it anywhere else. Then the person pastes the callback address the app shows into save_sign_in_callback. Owners and admins only.

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": {
      "name": "<name>",
      "app": "<app>"
    },
    "name": "create_sign_in_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYescopilot-studio for Microsoft Copilot Studio; other for another app that needs a client secret.
nameYesWhat it is for, such as Sales agent: the name people see when they sign in through it.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which only say it is a non-read-only, non-destructive, closed-world write), the description discloses the critical behaviour: the secret is shown once, only a scrambled copy is retained, and it must be handed over immediately and never stored elsewhere. It also describes what the response contains (client ID, secret, addresses to paste, in-app steps), which is the key operational detail an agent needs. This is exactly the kind of context annotations cannot carry.

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 purpose and the secret-handling warning are front-loaded, and nearly every sentence carries either a constraint or an action. A couple of sentences are dense run-ons, but nothing is redundant.

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

Completeness5/5

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

For a three-parameter creation tool with no output schema, the description covers prerequisites (owner/admin), the sensitive return value and its handling rules, and the required follow-up call. Nothing an agent needs in order to call it correctly and safely is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters including the app enum and workspace_id are already documented in the schema. The description reinforces the app enum meaning via the Copilot Studio reference but adds no syntax, defaults, or format detail beyond the schema, so the baseline 3 applies.

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 gives a specific verb and resource ('Makes a sign-in for an AI app'), scopes it to apps needing their own client ID and secret, and names the concrete use case (Copilot Studio's Manual OAuth). It stops short of explicitly contrasting with nearby credential siblings such as create_api_key or create_code_token, but the specificity of the resource makes the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the condition that selects this tool ('an AI app that needs a client ID and secret of its own') and names the concrete variant, plus a permission gate ('Owners and admins only'). It also chains to the next step in the workflow (save_sign_in_callback), but never states when not to use it or which sibling handles the other cases.

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.

Resources