Skip to main content
Glama

Get agent config

get_agent_config
Read-only

Consulta a configuração atual do agente de uma conta: persona (system_prompt), tom, modelo, ativação, memória do cliente, pedidos, notificação de estágio e modo de resposta de prospecção. Sem target_user_id, consulta a PRÓPRIA conta autenticada. O administrador da plataforma pode passar target_user_id para consultar a conta de um cliente. Não retorna a chave OpenAI em texto puro, apenas se está configurada.

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

Input Schema

NameRequiredDescriptionDefault
target_user_idNoID da conta-alvo (opcional; APENAS o admin da plataforma pode usar). Padrão: a conta autenticada.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the readOnlyHint/destructiveHint annotations, the description discloses two non-obvious behavioral facts: the OpenAI key is never returned in plaintext (only its configured state), and target_user_id is restricted to platform admins. It doesn't say what happens when a non-admin supplies that id (error vs. silent ignore), which is the remaining gap.

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?

Four short sentences, front-loaded with the resource and its fields before the scoping rules. Slight redundancy in re-explaining target_user_id, which is already in the schema, but nothing else is wasted.

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

Completeness4/5

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

With no output schema, the field enumeration in the description does double duty as a return-value summary, and the key-redaction note covers the one surprising return behavior. For a zero-required-parameter read tool with full schema coverage this is nearly sufficient.

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 coverage is already 100% and the single parameter's schema description states the same admin-only restriction and default account. The description's mention of target_user_id restates rather than extends the schema, so baseline 3 applies.

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?

States a specific verb plus resource ('Consulta a configuração atual do agente de uma conta') and then enumerates the exact facets covered — persona/system_prompt, tom, modelo, ativação, memória, pedidos, notificação, modo de prospecção. That enumeration lets an agent separate it from get_icp_config, get_account_info and the mutating update_agent_config without opening any schema.

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?

Clearly states the default behavior (no target_user_id → own authenticated account) and the elevated-privilege path (platform admin may pass target_user_id to read a customer account). It does not explicitly point to update_agent_config for writes or name sibling read tools, which keeps it just short of a 5.

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