Skip to main content
Glama

get_profile

Read-only

Return the opaque id of the profile behind this request's authenticated credentials, or no id when the caller has no profile. That id is the only profile value this tool exposes: it is unique within this app, stays unchanged across token refresh, reconnection, and display-metadata changes, and is never reassigned to another profile. Use it to decide whether a profile exists before scoring a contract. No name, email, or other identifiers are read or returned. Limits follow the caller's key plan, the same as search_contracts. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idYesOpaque profile identifier, unique within this app and unchanged across token refresh, reconnection, and display-metadata changes. Never reassigned to another profile. This is the only profile value the tool returns: no name, email, or other identifier is read or exposed (OpenAI review, 2026-10-22).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "description": "Opaque profile identifier, unique within this app and unchanged across token refresh, reconnection, and display-metadata changes. Never reassigned to another profile. This is the only profile value the tool returns: no name, email, or other identifier is read or exposed (OpenAI review, 2026-10-22).",
      +      "minLength": 1,
      +      "pattern": "\\S",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses important behavioral traits: the id is unique within the app, stable across token refresh and reconnection, never reassigned, and no PII is read or returned. It also notes that limits follow the caller's key plan, which helps an agent reason about throttling.

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 front-loaded with the core return value and then adds only relevant constraints about uniqueness, stability, privacy, and rate limits. The final 'Read-only' statement is redundant with annotations but is minor and does not detract from an otherwise tightly structured definition.

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 simple, parameterless, read-only identity lookup with an output schema, the description supplies everything an agent needs: what is returned, when to use it, stability guarantees, privacy boundaries, and plan-based limits. No important context is missing.

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 tool has zero parameters, so there is no parameter semantics to clarify. The baseline for a parameterless tool applies, and the description does not need to compensate for missing schema detail.

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 states a specific verb and resource: return the opaque profile id tied to the request's authenticated credentials, or no id when no profile exists. It also distinguishes what is not exposed (name, email, other identifiers), so an agent can tell this is an identity-presence lookup rather than a general profile fetch.

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 gives a clear use case: decide whether a profile exists before scoring a contract. It does not explicitly say when not to use the tool or name an alternative for richer profile data, but the scope is otherwise well bounded.

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