Skip to main content
Glama

Create project from grant

create_project_from_grant

Turn an approved grant into a project. The grant row is kept and moves to status granted — it carries the crawler identity (source_key + external_id), so deleting it would make the next crawl re-import the same call. Carries over title, code and, when an application is given, its requested amount. Does NOT invent work packages or periods: those are in the award letter, not in the call. Calling it twice returns the existing project.

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": {
      "grant_id": "<grant_id>"
    },
    "name": "create_project_from_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
nameNo
grant_idYes
max_grantNo
outcome_noteNo
grant_application_idNoOptional; must belong to the same grant. Its requested_amount seeds max_grant and it moves to approved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior1/5

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

The description states 'Calling it twice returns the existing project,' i.e. a repeated call has no additional effect, while the annotations declare idempotentHint=false. That is a direct conflict on the one behavioral trait the annotation set explicitly asserts. The rest of the description (why the grant row is kept, that it moves to status granted, what carries over) is genuinely useful, but the contradiction is what governs this dimension.

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 core action, then side effects, then carry-over, then explicit non-goals, then repeat-call behavior — a sensible order with no filler. It runs five sentences for a single-purpose tool, but each one carries concrete information, so the length is defensible.

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 non-destructive create/mutation tool with no output schema, most of what an agent needs is present: what it creates, what state the grant ends in and why, which fields transfer, what it deliberately does not do, and repeat-call behavior. Missing pieces are permission/auth requirements and the resulting project's initial status.

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 only 17%, so the description must carry most of the load. It does explain code, grant_id, max_grant ('its requested amount seeds max_grant') and grant_application_id ('must belong to the same grant'), but leaves name and outcome_note entirely undocumented — and 'title' in the description does not map cleanly to the 'name' parameter.

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?

The description opens with a specific verb and resource — 'Turn an approved grant into a project' — which is clearly distinct from create_project (build from scratch) and link_project_to_grant (attach an existing project). It also delimits scope by saying it does not invent work packages or periods. No sibling is named explicitly, so differentiation is implied rather than stated.

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 context is only implied: the grant must be 'approved' and an optional grant_application_id can be supplied ('when an application is given'). There is no explicit when-not guidance or routing to link_project_to_grant / create_project, so the agent must infer the boundary cases itself.

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.

Resources