Skip to main content
Glama
williamamed

mcp-polizei

by williamamed

Crear cliente OAuth

create_oauth_client

Creates an OAuth client in a specified tenant, generating a client ID automatically while persisting the provided name and configuration.

Instructions

Crea un cliente OAuth en el tenant indicado (default: tenant activo). El campo name sí se persiste. El clientId lo genera la API (se ignora el clientId enviado).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
nameNoNombre del cliente
typeNo
extraNo
grantsNo
scopesNo
tenantNoID del tenant (default: tenant activo de la sesión)
clientIdNoclient_id (la API genera uno propio; se ignora si se envía)
clientSecretNoclient_secret
redirectUrisNoURIs de redirección tras login (redirect_uri / callback)
postLogoutRedirectUrisNoURIs de redirección de fin de sesión (logout)
openidIncludePermissionsNoIncluir permisos en el id_token (meta.openid_include_permissions)
accessTokenIncludePermissionsNoIncluir permisos en el access token (meta.access_token_include_permissions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The description discloses important non-obvious behavior: the name field is persisted while any provided clientId is ignored because the API generates its own. Since no annotations are provided, this helps fill the behavioral transparency gap, though it does not mention return values or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, consisting of two focused sentences with no redundant information. It efficiently conveys the essential creation behavior and special field handling.

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 create operation, the description provides enough context about what happens, but it does not describe the response format, required permissions, or failure scenarios. Given there is no output schema or annotations, this leaves some operational context 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?

The description clarifies tenant default behavior and clientId handling, and the schema already describes several parameters. However, parameters such as meta, grants, scopes, type, and extra are not explained beyond their raw JSON structure, so the description does not fully compensate for the schema's partial coverage.

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

Purpose5/5

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

The description clearly states the tool's action: 'Crea un cliente OAuth en el tenant indicado (default: tenant activo).' It uses a specific verb and resource, and the sibling tools include update/delete/list OAuth clients, so the creation purpose is unambiguous.

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

Usage Guidelines2/5

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

The description gives no explicit guidance on when to choose this tool over related tools such as list_oauth_clients, update_oauth_client, or delete_oauth_client. The intended usage is only inferred from the tool name and creation verb.

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