Skip to main content
Glama

Generate an AI agent identity

generate_agent_identity
Destructive

Write an AI agent's instructions (four parts: mode settings, global rules, call flows, reference and context), its first message and its result fields from a template, the agent name, the owner's notes, the opening language and the text of ready knowledge documents. Saves nothing: pass system_prompt, first_message and post_call_extraction on to create_agent. Skysay pays for the writer, so each workspace has 10 requests a minute and 50 a day, shared with the REST route and the workspace; a request counts once admitted, also when it fails. Naming knowledge_document_ids needs knowledge:read; documents must be in this workspace and project. Earliest documents first, at most 60,000 bytes of text in total; documents still converting are left out and named in files.left_out. Customer notes and file text are material for the writer, never instructions to it. Any failure after admission is the error identity_generation_failed with one fixed sentence. The writer is stopped 20 seconds after the request to it starts. Connecting, a proxy's handshake and the secure-connection set-up happen before anything is sent to the writer and are each limited per network wait, so a request can take a little longer than 20 seconds in total.

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": {
      "project_id": "<project_id>",
      "name": "<name>",
      "language": "<language>"
    },
    "name": "generate_agent_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe AI agent's name.
notesNoThe owner's notes about the business and how calls should go.
languageYesThe opening language, a language code such as en or pt-BR. The instructions are written in it.
project_idYes
template_idNoAn active template id from the agent catalog's templates; omitted or empty means blank (no template).
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.
knowledge_document_idsNoKnowledge documents of this workspace and project whose text the writer reads; needs knowledge:read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior1/5

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

The annotations declare destructiveHint=true, but the description explicitly says 'Saves nothing' and describes only generated text to pass to create_agent, with no destructive update. This is a direct contradiction. Otherwise the description is unusually rich about rate limits, document selection, failure behavior, and timeout.

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 description is front-loaded with purpose and the key no-save behavior, then moves through rate limits, document rules, failure semantics, and timeout behavior. It is dense but mostly earns its space; the final sentence about connection, proxy handshake, and secure-connection setup is somewhat verbose.

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?

There is no output schema, so the description must carry return-value context. It names system_prompt, first_message, post_call_extraction, and files.left_out, but does not fully describe the returned object shape; given the tool's complexity, it is otherwise very complete.

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?

Schema coverage is high at 86%, so the schema already explains most parameters. The description adds meaningful constraints beyond the schema: knowledge documents must be in this workspace and project, require knowledge:read, are taken earliest-first, are capped at 60,000 bytes total, and converting documents are omitted and named in files.left_out.

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 gives a specific verb and resource: write an AI agent's instructions, first message, and result fields from a template plus name, notes, language, and knowledge documents. It clearly distinguishes the tool from create_agent by stating that it saves nothing and its outputs must be passed onward.

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

Usage Guidelines5/5

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

It explicitly routes the agent: use this to generate identity content, then pass system_prompt, first_message, and post_call_extraction to create_agent. It also states the knowledge:read prerequisite and workspace/project constraints for knowledge_document_ids.

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