Skip to main content
Glama

Rename AI endpoint

rename_ai_endpoint

Rename one of the organisation's OpenAI-compatible AI endpoints. Only the name changes: its address and its stored key stay as they are (changing either is a portal or ankra ai endpoints update lane, because it carries a key). endpoint_id comes from list_ai_endpoints. Needs ai.manage (organisation owners and admins). Never takes or returns a provider key.

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": {
      "endpoint_id": "<endpoint_id>",
      "name": "<name>"
    },
    "name": "rename_ai_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name for the endpoint.
endpoint_idYesThe id of an AI endpoint, as list_ai_endpoints shows it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description adds real context on top: what is and is not mutated, that the endpoint carries a key so key changes happen elsewhere, the permission required, and the guarantee that no provider key is taken or returned. It never contradicts the annotations, and the 'only the name changes' line actively reinforces destructiveHint=false.

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?

Front-loaded with the purpose, then scope, then alternatives, then the id source and permission — a sound information order with no filler. The parenthetical 'because it carries a key' is slightly compressed reasoning that takes a moment to parse, but every sentence still carries actionable content.

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 two-parameter mutation with no output schema, the definition covers everything an agent needs: what changes, what does not, the permission gate, where the id comes from, and the guarantee that no secret is transmitted. No return-value explanation is needed since the tool is a no-output rename and the description says so implicitly via 'never takes or returns a provider key'.

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 100%, so the baseline is 3, and the description goes beyond it by stating where `endpoint_id` originates (`list_ai_endpoints`) and by scoping what `name` affects (the label only, not the address or key). It stops short of any naming constraints or length/format rules, so it is an improvement over the schema rather than a full substitute.

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 and resource ('Rename one of the organisation's OpenAI-compatible AI endpoints') and immediately bounds the scope to the name only, explicitly noting that address and stored key are untouched. That scope statement distinguishes it from `update_ai_environment`/`ankra ai endpoints update` work without the agent needing to open sibling schemas.

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?

Gives explicit when-to-use (rename only), when-not-to-use with named alternatives ('changing either is a portal or `ankra ai endpoints update` lane'), and the precondition ('Needs ai.manage (organisation owners and admins)'). It also routes the agent to `list_ai_endpoints` to obtain the id, which is the only upstream step required.

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.