Skip to main content
Glama

Recommend Wiro models

recommend_model
Read-onlyIdempotent

Finds AI models for a task from two or three keywords, returning best matches first and pointing to the schema needed before running a selected model.

Instructions

Find models for a goal from two or three key words that name the task or the model, such as "upscale image", "remove background" or "text to image", best matches first. A model matches when one of its fields has every word. Style and subject words, such as "flat illustration" or "coffee cup", describe the output, so they belong in the prompt. A result for only part of the words names the words it left out. For a kind of task, search_models with categories also works. Follow the returned get_model_schema next action before running a model.

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": {
      "task": "<task>"
    },
    "name": "recommend_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesTwo or three key words that name the task or the model, e.g. "upscale image", "remove background", "transcribe audio".

Output Schema

NameRequiredDescriptionDefault
limitYes
startYes
totalYes
modelsYes
nextStartYes
nextActionNo
searchUsedNoSet when no model matched every search word: the part of the search the results are for.
ignoredWordsNoSet when no model matched every search word: the words the results leave out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.8
    • changedInput schema / properties / task / description
      Previous value: -"Two or three key words, e.g. \"upscale image\", \"remove background\", \"transcribe audio\"."New value: +"Two or three key words that name the task or the model, e.g. \"upscale image\", \"remove background\", \"transcribe audio\"."
    • addedOutput schema / properties / ignoredWords
      Added value: +{
      +  "description": "Set when no model matched every search word: the words the results leave out.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / searchUsed
      Added value: +{
      +  "description": "Set when no model matched every search word: the part of the search the results are for.",
      +  "type": "string"
      +}
  2. Changed5 schema fields changedv1.5.3
    • addedOutput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / nextStart / anyOf
      Previous value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / start / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / total / maximum
      Added value: +9007199254740991
  3. Changed3 schema fields changedv1.4.1
    • changedInput schema / properties / task / description
      Previous value: -"What you want to do, e.g. \"generate a photorealistic portrait\", \"upscale an image to 4K\", \"transcribe audio to text\"."New value: +"Two or three key words, e.g. \"upscale image\", \"remove background\", \"transcribe audio\"."
    • addedOutput schema / properties / models / items / properties / discountPercent
      Added value: +{
      +  "description": "Your discount on this model, in percent. It comes off the part of a charge paid from deposits; coupon credit and store revenue pay first, at the list price in pricing.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / models / items / properties / estimatedCostUsd / description
      Added value: +"Estimated USD cost of one run: the average of past runs for a model billed by run time, or the listed estimate of a price set when the run ends. Null when there is no such estimate, as for a model priced by its options: see pricing."
  4. Changed2 schema fields changedv1.2.3
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. Changed2 schema fields changedv1.2.1
    • changedInput schema / properties / task / description
      Previous value: -"What you want to do, e.g. \"generate a photorealistic portrait\", \"upscale an image to 4K\", \"transcribe audio to text\""New value: +"What you want to do, e.g. \"generate a photorealistic portrait\", \"upscale an image to 4K\", \"transcribe audio to text\"."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "limit": {
      +      "exclusiveMinimum": 0,
      +      "type": "integer"
      +    },
      +    "models": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "categories": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "description": {
      +            "type": "string"
      +          },
      +          "estimatedCostUsd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "pricing": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "title",
      +          "categories"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "nextAction": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "arguments": {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        "reason": {
      +          "type": "string"
      +        },
      +        "tool": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "tool",
      +        "arguments",
      +        "reason"
      +      ],
      +      "type": "object"
      +    },
      +    "nextStart": {
      +      "anyOf": [
      +        {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "start": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total": {
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "models",
      +    "total",
      +    "start",
      +    "limit",
      +    "nextStart"
      +  ],
      +  "type": "object"
      +}
  6. First observedv1.1.4

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety and idempotency, but the description adds matching semantics the agent could not otherwise know: a model matches only when a single one of its fields contains every word, results are ordered best-first, and partial matches are flagged with the omitted words. That is genuinely useful beyond the annotations, though nothing is said about result limits or pagination behavior.

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 core purpose is front-loaded and every sentence carries distinct information: matching rule, prompt-word exclusion, partial-match behavior, alternative, and next action. The first sentence is grammatically tangled ('key words ... best matches first'), which slightly slows comprehension of the most important line.

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 single-parameter read-only search with an output schema, this covers what the agent needs: what to pass, how matching works, what a partial result means, and which tool to call next. Only minor operational details, such as result count or truncation, are absent and largely handled by the output schema.

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 100% and the single `task` parameter is already documented with examples, so the schema carries the basics. The description adds matching semantics (all words must appear in one field) that clarify how the string is interpreted, but it does not add syntax, length, or format constraints beyond the schema.

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 names a specific verb and resource ('Find models') and states the input contract (two or three task/model key words) with concrete examples. It also distinguishes itself from the sibling search_models, so an agent can route between the two without opening either 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?

It gives real when-to-use guidance: key words belong here, but style and subject words ('flat illustration', 'coffee cup') belong in the prompt, which is an explicit exclusion. It also names an alternative ('for a kind of task, search_models with categories also works') and prescribes the follow-up step (get_model_schema) before running a model. The routing is slightly soft, since 'also works' does not say when the sibling is actually preferable.

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