Skip to main content
Glama

Use Project Profile

use_project_profile

Apply a named profile to the current project to add categories and collections without removing existing ones; combine multiple profiles to build complex configurations.

Instructions

Apply a profile to the current project.

Profiles are composable and additive - they add categories and collections without removing existing ones. Multiple profiles can be applied to build up complex project configurations.

Arguments

  • session_id: string | null

    • Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.

  • profile (required): string

    • Name of the profile to apply (e.g., 'python', 'jira')

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": {
      "args": "<args>"
    },
    "name": "use_project_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for use_project_profile tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • addedInput schema / properties / args / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id."
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv1.3.2

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose a meaningful behavioral trait: profiles are additive and never remove existing categories or collections. It omits what happens on an unknown profile name, whether the call is idempotent when re-applying the same profile, and whether a session_id is required or merely returned by set_project.

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

Conciseness3/5

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

Front-loaded with the purpose, and the additivity note is well placed. However, the bulk of the text duplicates schema descriptions for a tool with only one effective parameter, which is padding rather than value; for a single-argument tool this could be two sentences.

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

Completeness3/5

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

For a mutation tool with no annotations and no output schema, the additivity disclosure covers the most important surprise. Gaps remain around failure behavior for invalid profile names, whether results are reported back, and whether session_id must be threaded from set_project before this can be called successfully.

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%, so the baseline is 3. The '## Arguments' section restates the schema text for profile and session_id nearly verbatim, including the same examples ('python', 'jira'), adding no new semantic information beyond the structured fields.

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

Purpose4/5

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

States a concrete verb and resource: 'Apply a profile to the current project.' An agent can tell this mutates project configuration by adding a named profile. It does not differentiate from nearby tools such as show_profile, list_profiles, or set_project by name, so it stops short of 5.

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

Usage Guidelines3/5

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

Usage is implied: apply profiles to build up complex configurations, and multiple profiles can be stacked. There is no explicit guidance on when NOT to use it, no mention of list_profiles for discovering valid profile names, and no stated prerequisite that a project must already be set.

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