Skip to main content
Glama

llm_import_profile

Import a shared routing profile from a URL or community, merging it with your existing learned routes. Community profiles require a confidence score of 2 or higher.

Instructions

Import a learned routing profile from community or URL.

Imports a shared profile and merges it with your existing learned routes. Community profiles must have confidence >= 2 to be imported (strict validation).

Args: url: URL to a profile JSON file (optional; defaults to community latest)

Returns: Merge summary and new routes imported

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that profiles are merged with existing learned routes and that community profiles require confidence >=2. However, it does not detail merge behavior (overwrite vs. additive), authentication needs, or error handling for invalid URLs. Provides some transparency but not exhaustive.

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 tightly written: two sentences for purpose, one for validation, and clear Args/Returns sections. No redundancy or wasted words. Front-loaded with the key action.

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?

For a simple import tool with one parameter and an output schema, the description covers the main functionality, default behavior, and a key validation rule. However, it omits error conditions (e.g., invalid URL, missing community profile) and does not explain the merge summary contents, leaving some gaps for an agent.

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 description coverage is 0%, but the description explains the single 'url' parameter: optional, defaults to community latest, and expects a URL to a JSON file. This adds meaningful context beyond the schema's type and default, though examples or format details would improve it further.

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 imports a learned routing profile from community or URL and merges it with existing routes. It specifies the verb 'Import', the resource 'learned routing profile', and the scope 'from community or URL', distinguishing it from siblings like llm_share_profile which likely exports.

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?

No explicit guidance on when to use this tool versus alternatives (e.g., llm_set_profile or llm_share_profile). The description implies usage for importing profiles but does not state exclusions or compare to other routing tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ypollak2/llm-router'

If you have feedback or need assistance with the MCP directory API, please join our Discord server