Skip to main content
Glama

Grant model to project

grant_models_add

Create a project model grant to assign a configured model to an organization project, with optional limits on tools, reasoning, modalities, tokens, and cache retention.

Instructions

Create project model grant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIDYes
projectIDYes
supports_toolsNoOptional project-level tool-use gate. Can disable tools, but cannot enable tools when the configured model does not support them.
input_modalitiesNoOptional project subset of configured-model input types (text, image, or file). Empty or omitted means inherit.
max_output_tokensNoOptional project output-token ceiling. Cannot exceed the configured model's ceiling.
output_modalitiesNoOptional project subset of configured-model output types. Empty or omitted means inherit.
supports_reasoningNoOptional project-level reasoning gate. Can disable reasoning, but cannot enable reasoning when the configured model does not support it.
configured_model_idYes
context_window_tokensNoOptional project context budget for input and output tokens. Cannot exceed the configured model's budget. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.
default_cache_retentionNoPrompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.
default_reasoning_effortNoOptional project default reasoning effort.
default_max_output_tokensNoOptional project default per-request output-token cap.
supported_reasoning_effortsNoOptional project subset of configured-model reasoning efforts. If this excludes the inherited default_reasoning_effort, set default_reasoning_effort on the grant too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the agent knows this is a non-destructive write with side effects on repeat. The description adds zero behavioral context of its own: it does not say that re-granting an existing model/project pair may error or overwrite, does not mention auth/permission requirements, and says nothing about the gating semantics of supports_tools, supports_reasoning, or the compaction-failure behavior tied to context_window_tokens. No contradiction with annotations, but no added value either.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four words are technically concise and front-loaded, but the brevity reflects under-specification rather than efficiency. For a 13-parameter mutation tool this length leaves the definition effectively empty; the problem is missing content, not excess verbiage.

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

Completeness1/5

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

With 13 parameters, three required, no output schema, generic annotations, and complex inheritance/ceiling semantics (input/output modalities, context budgets, reasoning gates), a single four-word phrase is wholly inadequate. An agent cannot determine scope, failure modes, or parameter interactions from this definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 77%, just under the threshold where the schema alone would justify a baseline 3. Notably the three required parameters (configured_model_id, orgID, projectID) carry no descriptions at all, and the description adds no meaning about what the grant scopes or how the optional subset/inherit parameters relate to the configured model. The description contributes nothing beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create project model grant" restates the tool name and title almost verbatim, adding no new information beyond the verb+resource already in the identifier. It gives no differentiation from the many siblings in the same family (grant_models_edit, grant_models_delete, grant_models_list, grant_machines_add, grant_pools_add). This sits at the tautology end of the scale.

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?

The description provides no when-to-use guidance, no prerequisites, and never names the alternative to reach for when modifying an existing grant (grant_models_edit) instead of creating one. Nothing tells the agent under what conditions a new grant is the right call versus reusing or editing.

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