Skip to content
DFL / MCP
esc
↑↓navigate ↵open ⌘↵copy tool name

Learn

Learning management: members, cohorts, programs, stages, milestones, and the wiki. learn is the canonical home for Members — lookup_member lives here.

Connector
https://mcp.devfellowship.com/mcp
Tools
67 in 10 groups
Package
packages/dfl-mcp-learn
Auth
Sign in once on the DFL connector. Every call runs as you, under RLS and your IAM role. See Auth & security.

Connect

Add the one DFL connector, https://mcp.devfellowship.com/mcp, to your client. Sign in once. On the consent page choose the learn domain: read gives the scope learn.read, and write gives learn.write. The steps for each client are on Connect the DFL MCP.

Then find a tool of this domain with the router tools of the connector:

  1. search_tools with a keyword or an exact tool name. Each result gives learn.<tool> and its mode (read or write).
    {
      "query": "list_members"
    }
  2. describe_tool with that id for the description and the input schema.
    {
      "tool": "learn.list_members"
    }
  3. call_read_tool for a read tool, or call_write_tool for a write tool, with the id and the arguments.

Scripts and agents that sign in with a token: see Getting started, For scripts.

Backing datalms / public schemas (members, profiles, programs, cohorts).

The canonical Members group — member CRUD, profiles, and lookup_member (name → public.members.id, the id other MCPs reference, e.g. work.placements.member_id).

Find a member by name, and read or edit members, profiles, and the private data and notes of a member.

list_members

List all members with optional filters.read

List Members

List all members with optional filters. Returns members you have access to based on your permissions.

ParameterTypeRequiredDescription
limitnumbernoMaximum number of members to return (default: 50, max: 100)
offsetnumbernoNumber of members to skip (for pagination)
phase_idstringnoFilter by member phase (e.g., waiting_list, active, alumni)
is_activebooleannoFilter by active status.
searchstringnoSearch by name or email.

get_member

Get a specific member by their ID.read

Get Member

Get a specific member by their ID.

ParameterTypeRequiredDescription
idstringyesThe UUID of the member.

create_member

Create a new community member.

Create Member

Create a new community member.

ParameterTypeRequiredDescription
namestringyesFull name of the member.
personal_emailstringnoPersonal email address.
corporate_emailstringnoCorporate/work email address.
phonestringnoPhone number.
citystringnoCity.
statestringnoState/Province.
phase_idstringnoMember phase (e.g., waiting_list, active)
tagsstring[]noTags for the member.
user_idstringnoThe login (public.profiles id) this member row belongs to. Only at create: update_member cannot change it. The owner of a row (user_id = the caller) updates its own profile and the process-map nodes it owns.

update_member

Update an existing community member, under the caller's RLS (a global admin updates any member; the owner updates its own profile, not its pinned program columns).

Update Member

Update an existing community member, under the caller's RLS (a global admin updates any member; the owner updates its own profile, not its pinned program columns). Program columns (ciclo, fellow_role, seniority, english_level, profession, github_username, linkedin_url, referred_by, onboarding_completed_at, crm_member_id) accept null to clear them. Private data (CPF, PIX, bank, address) is NOT here: use upsert_member_sensitive.

ParameterTypeRequiredDescription
idstringyesThe UUID of the member to update.
namestringnoFull name of the member.
personal_emailstringnoPersonal email address.
corporate_emailstringnoCorporate/work email address.
phonestringnoPhone number.
citystringnoCity.
statestringnoState/Province.
phase_idstringnoMember phase.
tagsstring[]noTags for the member.
is_activebooleannoWhether the member is active.
ciclostringnoProgram cycle (ciclo) of the fellow.
fellow_rolestringnoRole of the fellow in the program.
senioritystringnoSeniority level.
english_levelstringnoEnglish level.
professionstringnoProfession.
github_usernamestringnoGitHub username.
linkedin_urlstringnoLinkedIn profile URL.
referred_bystringnoWho referred the member.
onboarding_completed_atstringnoDate the onboarding was completed, YYYY-MM-DD.
crm_member_idstringnoId of the member in the CRM (Twenty fellow id)

delete_member

Soft delete a member by setting is_active to false.

Delete Member

Soft delete a member by setting is_active to false.

ParameterTypeRequiredDescription
idstringyesThe UUID of the member to delete.
hard_deletebooleannoIf true, permanently delete the member (use with caution)

lookup_member

Resolve a fellow's name to their public.members.id (e.g. the id used as work.placements.member_id).read

Lookup Member

Resolve a fellow's name to their public.members.id (e.g. the id used as work.placements.member_id). Tries exact case-insensitive match first, then a fuzzy substring (ilike) match. Returns all candidates so the caller can disambiguate before using the id (e.g. creating a placement via the work MCP).

ParameterTypeRequiredDescription
namestringyesFellow's name (full or partial; case-insensitive)
limitnumbernoMaximum number of candidates to return (default 10)
include_inactivebooleannoInclude members where is_active = false (default false)

upsert_member_sensitive

Write the private data of one member (CPF, RG, CNPJ, birth date, PIX key, bank account, address, full name) into public.members_sensitive, under the caller's RLS.

Upsert Member Sensitive Data

Write the private data of one member (CPF, RG, CNPJ, birth date, PIX key, bank account, address, full name) into public.members_sensitive, under the caller's RLS. Only the fields given change; the same input twice gives the same row. CPF and CNPJ are stored as digits only; a CPF with fewer than 11 digits is left-padded with zeros. A global admin writes any member and creates the row; the owner updates its own existing row. With no data field, the tool only makes sure the row exists (needed before set_member_notes). source_ref is stored only when the row is created; an existing row keeps its source_ref. The result never repeats a value: it returns member_id, the names of the fields written, and booleans.

ParameterTypeRequiredDescription
member_idstringyespublic.members.id of the member.
source_refstringnoIdempotency / provenance key, unique across rows, e.g. "twenty:fellow:<uuid>".
full_namestringnoFull legal name. null clears it; omit to keep it.
cpfstringnoCPF, any format (dots and dashes are removed; fewer than 11 digits are left-padded with zeros). null clears it; omit to keep it.
rgstringnoRG. null clears it; omit to keep it.
cnpjstringnoCNPJ, any format (stored as 14 digits). null clears it; omit to keep it.
birth_datestringnoBirth date, YYYY-MM-DD. null clears it; omit to keep it.
pix_keystringnoPIX key. null clears it; omit to keep it.
bank_namestringnoBank name. null clears it; omit to keep it.
bank_branchstringnoBank branch (agência). null clears it; omit to keep it.
bank_accountstringnoBank account number. null clears it; omit to keep it.
address_fullstringnoFull address in one line. null clears it; omit to keep it.
address_streetstringnoStreet and number. null clears it; omit to keep it.
address_street_2stringnoAddress complement. null clears it; omit to keep it.
address_districtstringnoDistrict (bairro). null clears it; omit to keep it.
address_postal_codestringnoPostal code (CEP). null clears it; omit to keep it.
address_city_statestringnoCity and state, e.g. "São Paulo/SP". null clears it; omit to keep it.

get_member_sensitive

Read the private data of one member (CPF, RG, CNPJ, birth date, PIX key, bank account, address, full name) from public.members_sensitive, under the caller's RLS.read

Get Member Sensitive Data

Read the private data of one member (CPF, RG, CNPJ, birth date, PIX key, bank account, address, full name) from public.members_sensitive, under the caller's RLS. Values are not masked. Only the member itself and a global admin get the row; any other caller gets "not found or not allowed". A global admin also gets the notes (from the admin-only view public.member_notes).

ParameterTypeRequiredDescription
member_idstringyespublic.members.id of the member.

set_member_notes

Write the admin notes (members_sensitive.notes, a JSON array of {date, content, title?, source_ref?}) of one member through the admin-only view public.member_notes.

Set Member Notes

Write the admin notes (members_sensitive.notes, a JSON array of {date, content, title?, source_ref?}) of one member through the admin-only view public.member_notes. Global admin only. mode "replace" writes the given array; mode "merge_by_source_ref" appends only the notes whose source_ref is not stored yet (every note needs a source_ref; a re-run adds nothing). Fails when the members_sensitive row does not exist (create it with upsert_member_sensitive) or when the caller is not a global admin. Returns counts only.

ParameterTypeRequiredDescription
member_idstringyespublic.members.id of the member.
notesobject[]yesThe notes.
modeenumyesreplace = write this array; merge_by_source_ref = append the new source_refs. One of: replace, merge_by_source_ref.

remove_member_personal_data_keys

Remove named keys from public.members.personal_data (jsonb) for many members.

Remove Member Personal Data Keys

Remove named keys from public.members.personal_data (jsonb) for many members. Global admin only; runs on the caller's JWT. dry_run defaults to true: it reports what it would change and writes nothing. With require_in_sensitive (default true), a member whose personal_data holds a non-empty value for a key that has a members_sensitive column of the same name is REFUSED when members_sensitive has no value for it (listed, not changed); a different value is not a refusal. A key with no members_sensitive column needs require_in_sensitive false. member_ids limits the run; omit it for every member. Idempotent. The result holds member ids, key names and counts only, never a value.

ParameterTypeRequiredDescription
keysstring[]yesKeys to remove from personal_data, e.g. ["pix_key"].
member_idsstring[]nopublic.members.id list to limit the run. Omit for all members.
dry_runbooleannotrue (default): report only, write nothing. false: write. Default: true.
require_in_sensitivebooleannotrue (default): refuse a member whose value would exist only in personal_data. Default: true.

list_profiles

List user profiles with optional filters.read

List Profiles

List user profiles with optional filters.

ParameterTypeRequiredDescription
limitnumbernoMaximum number of profiles to return (default: 50, max: 100)
offsetnumbernoNumber of profiles to skip (for pagination)
searchstringnoSearch by name or email.

get_profile

Get a specific user profile by ID.read

Get Profile

Get a specific user profile by ID.

ParameterTypeRequiredDescription
idstringyesThe UUID of the profile.

update_profile

Update your own profile. Only the authenticated user can update their profile.write

Update Profile

Update your own profile. Only the authenticated user can update their profile.

ParameterTypeRequiredDescription
namestringnoDisplay name.
avatar_urlstringnoAvatar URL.

The class groups (cohorts) of the learning platform.

list_cohorts

List LMS cohorts (batches, e.g. "Winter 2025", "Summer 2026") with optional filters.read

List Cohorts

List LMS cohorts (batches, e.g. "Winter 2025", "Summer 2026") with optional filters. Reads lms.cohorts (RLS: any authenticated user can read).

ParameterTypeRequiredDescription
statusenumnoFilter by cohort lifecycle status. One of: active, graduated, draft, archived.
batch_typeenumnoFilter by batch type ('fellow' or 'organization') One of: fellow, organization.
searchstringnoSearch by cohort name or slug.
limitnumbernoMax cohorts to return (default 50, max 100)
offsetnumbernoNumber of cohorts to skip (pagination)

create_cohort

Create an LMS cohort (batch).write

Create Cohort

Create an LMS cohort (batch). Admin only — RLS rejects writes from non-global-admins. If slug is omitted it is derived from the name.

ParameterTypeRequiredDescription
namestringyesCohort display name, e.g. "Winter 2025".
slugstringnoURL-safe slug (unique). Defaults to a slugified name, e.g. "winter-2025".
yearnumbernoCohort year (informational)
statusenumnoLifecycle status (default 'active') One of: active, graduated, draft, archived.
batch_typeenumnoBatch type, 'fellow' or 'organization' (default 'fellow') One of: fellow, organization.
organization_idstringnoOptional org id for organization batches.
organization_namestringnoOptional org display name.
starts_onstringnoInformational start date (YYYY-MM-DD). NOT used to drive the Gantt sequence.

update_cohort

Update an LMS cohort. Admin only — RLS rejects writes from non-global-admins.write

Update Cohort

Update an LMS cohort. Admin only — RLS rejects writes from non-global-admins.

ParameterTypeRequiredDescription
idstringyesThe UUID of the cohort to update.
namestringnoCohort display name.
slugstringnoURL-safe unique slug.
yearnumbernoCohort year.
statusenumnoLifecycle status. One of: active, graduated, draft, archived.
batch_typeenumnoBatch type ('fellow' or 'organization') One of: fellow, organization.
organization_idstringnoOrg id for organization batches.
organization_namestringnoOrg display name.
starts_onstringnoInformational start date (YYYY-MM-DD)

Curriculum programs (the Gantt view): create one from a template for a cohort, and see how far each member got.

list_programs

List LMS programs (curriculum trees rendered by the Gantt).read

List Programs

List LMS programs (curriculum trees rendered by the Gantt). A program is either a reusable TEMPLATE or a per-cohort INSTANCE. Filter by kind and/or cohort_id.

ParameterTypeRequiredDescription
kindenumnoFilter by 'template' (reusable plan) or 'instance' (a cohort's live program) One of: template, instance.
cohort_idstringnoFilter to the instance program belonging to this cohort.
searchstringnoSearch by program name or slug.
limitnumbernoMax programs to return (default 50, max 100)
offsetnumbernoNumber of programs to skip (pagination)

get_program

Read ONE LMS program by id (or slug) together with its full tree: stages (ordered by position) each with their milestones (ordered by position), plus the program's stage_dependencies edges.read

Get Program (deep)

Read ONE LMS program by id (or slug) together with its full tree: stages (ordered by position) each with their milestones (ordered by position), plus the program's stage_dependencies edges. This is the read that powers the Gantt and verifies an authored template/instance. READ-ONLY.

ParameterTypeRequiredDescription
idstringnoThe program UUID (preferred). Provide id OR slug.
slugstringnoThe program slug (e.g. "winter-2025"). Used if id is omitted.

create_program

Create an LMS program. Admin only.write

Create Program

Create an LMS program. Admin only. For kind='instance' (a cohort's live program), STRONGLY prefer the instantiate_program tool, which deep-copies a template into a cohort. Use create_program directly to author a new TEMPLATE, or to author an instance from scratch. Invariants: a template must NOT have cohort_id/source_program_id; an instance MUST have cohort_id.

ParameterTypeRequiredDescription
namestringyesProgram name.
slugstringnoURL-safe slug; defaults to a slugified name.
kindenumno'template' (reusable plan, default) or 'instance' (per-cohort) One of: template, instance.
statusenumnoProgram status (default 'active') One of: upcoming, locked, active, done.
cohort_idstringnoRequired for kind='instance' — the cohort this program serves. Must be omitted for templates.
source_program_idstringnoFor an instance authored from a template: the template id it was copied from. Omit for templates.

update_program

Update an LMS program's name, slug, or status.write

Update Program

Update an LMS program's name, slug, or status. Admin only. Note: kind / cohort_id / source_program_id are immutable here — to put a template into a cohort use instantiate_program.

ParameterTypeRequiredDescription
idstringyesThe UUID of the program to update.
namestringnoProgram name.
slugstringnoURL-safe slug.
statusenumnoProgram status. One of: upcoming, locked, active, done.

delete_program

Delete an LMS program. Admin only.

Delete Program

Delete an LMS program. Admin only. CASCADE removes its stages, milestones, and stage_dependencies. Deleting an instance program detaches it from its cohort.

ParameterTypeRequiredDescription
idstringyesThe UUID of the program to delete.

instantiate_program

Deep-copy a TEMPLATE program tree (program -> stages -> milestones -> stage_dependencies) into a new per-cohort INSTANCE program, and return the new instance program id.write

Instantiate Program

Deep-copy a TEMPLATE program tree (program -> stages -> milestones -> stage_dependencies) into a new per-cohort INSTANCE program, and return the new instance program id. This is the preferred way to give a cohort its curriculum. Admin only — the SQL function self-checks global-admin. Idempotent per cohort: if the cohort already has an instance program, that existing program id is returned (no duplicate tree).

ParameterTypeRequiredDescription
template_idstringyesThe UUID of the TEMPLATE program to copy (kind='template')
cohort_idstringyesThe UUID of the cohort to instantiate the program for.

get_program_member_progress

Read the lms.program_member_progress VIEW — computed per-(member, cohort) progress through the cohort's instance program (total milestones, done milestones, percentage, last completion).read

Get Program Member Progress

Read the lms.program_member_progress VIEW — computed per-(member, cohort) progress through the cohort's instance program (total milestones, done milestones, percentage, last completion). READ-ONLY. RLS is security_invoker: a non-admin caller only sees their own progress rows; a global admin sees everyone. Provide cohort_id (recommended) and/or a specific user_id to filter.

ParameterTypeRequiredDescription
cohort_idstringnoFilter progress to a single cohort.
program_idstringnoFilter by the cohort's instance program id (resolved to its cohort_id under the hood)
user_idstringnoFilter to a single member (admin-only view of other members)
limitnumbernoMax rows to return (default 100, max 500)
offsetnumbernoNumber of rows to skip (pagination)

The top-level stages of a program.

list_stages

List the stages (top-level Gantt nodes) of a program, ordered by position.read

List Stages

List the stages (top-level Gantt nodes) of a program, ordered by position. Each stage includes its milestone count.

ParameterTypeRequiredDescription
program_idstringyesThe UUID of the program whose stages to list.

create_stage

Create a stage (top-level Gantt node) under a program.write

Create Stage

Create a stage (top-level Gantt node) under a program. Admin only. Stages inherit template-vs-instance from their program.

ParameterTypeRequiredDescription
program_idstringyesThe UUID of the program this stage belongs to.
titlestringyesStage title.
subtitlestringnoOptional subtitle.
colorstringnoHex color that tints the Gantt bar, e.g. "#4F46E5".
positionnumbernoSequence order within the program (default 0)
statusenumnoNode status (default 'upcoming') One of: upcoming, locked, active, done.

update_stage

Update a stage. Admin only.write

Update Stage

Update a stage. Admin only.

ParameterTypeRequiredDescription
idstringyesThe UUID of the stage to update.
titlestringnoStage title.
subtitlestringnoSubtitle.
colorstringnoHex color for the Gantt bar.
positionnumbernoSequence order within the program.
statusenumnoNode status. One of: upcoming, locked, active, done.

delete_stage

Delete a stage. Admin only.

Delete Stage

Delete a stage. Admin only. CASCADE removes its milestones.

ParameterTypeRequiredDescription
idstringyesThe UUID of the stage to delete.

The milestones inside a program stage.

list_milestones

List the milestones under a stage, ordered by position.read

List Milestones

List the milestones under a stage, ordered by position.

ParameterTypeRequiredDescription
stage_idstringyesThe UUID of the stage whose milestones to list.

create_milestone

Create a milestone under a stage.write

Create Milestone

Create a milestone under a stage. Admin only. points is the gamification weight (default 0).

ParameterTypeRequiredDescription
stage_idstringyesThe UUID of the stage this milestone belongs to.
titlestringyesMilestone title.
descriptionstringnoMilestone description.
positionnumbernoSequence order within the stage (default 0)
pointsnumbernoGamification weight / value (default 0)
statusenumnoNode status (default 'upcoming') One of: upcoming, locked, active, done.
linked_material_idstringnoOptional loose link to a lesson/material UUID.
linked_tool_idstringnoOptional tool-catalog key.

update_milestone

Update a milestone. Admin only.write

Update Milestone

Update a milestone. Admin only.

ParameterTypeRequiredDescription
idstringyesThe UUID of the milestone to update.
titlestringnoMilestone title.
descriptionstringnoMilestone description.
positionnumbernoSequence order within the stage.
pointsnumbernoGamification weight / value.
statusenumnoNode status. One of: upcoming, locked, active, done.
linked_material_idstringnoLoose link to a lesson/material UUID.
linked_tool_idstringnoTool-catalog key.

delete_milestone

Delete a milestone. Admin only.

Delete Milestone

Delete a milestone. Admin only. Associated completion rows cascade.

ParameterTypeRequiredDescription
idstringyesThe UUID of the milestone to delete.

Which stage must come before which other stage.

list_stage_dependencies

List the sequence/dependency edges (predecessor -> successor) of a program.read

List Stage Dependencies

List the sequence/dependency edges (predecessor -> successor) of a program. These drive the dependency Gantt and the "locked until prerequisite done" gating.

ParameterTypeRequiredDescription
program_idstringyesThe UUID of the program whose dependency edges to list.
node_kindenumnoFilter to edges between 'stage' nodes or 'milestone' nodes. One of: stage, milestone.

add_stage_dependency

Add a sequence/dependency edge (predecessor -> successor) within a program.write

Add Stage Dependency

Add a sequence/dependency edge (predecessor -> successor) within a program. node_kind must match the type of both endpoint ids (stage.id or milestone.id). Admin only. The successor is gated until the predecessor is done.

ParameterTypeRequiredDescription
program_idstringyesThe UUID of the program the edge belongs to.
node_kindenumyesWhether this edge connects 'stage' nodes or 'milestone' nodes (both endpoints must be this kind) One of: stage, milestone.
predecessor_idstringyesUUID of the prerequisite node (stage.id or milestone.id per node_kind)
successor_idstringyesUUID of the dependent node (stage.id or milestone.id per node_kind)

remove_stage_dependency

Remove a dependency edge.write

Remove Stage Dependency

Remove a dependency edge. Admin only. Provide either the edge id, OR the full tuple (program_id + node_kind + predecessor_id + successor_id).

ParameterTypeRequiredDescription
idstringnoThe UUID of the dependency edge to remove.
program_idstringnoProgram id (when removing by tuple)
node_kindenumnoEdge kind (when removing by tuple) One of: stage, milestone.
predecessor_idstringnoPredecessor node id (when removing by tuple)
successor_idstringnoSuccessor node id (when removing by tuple)

The dfl-wiki articles (wiki.articles, wiki.devfellowship.com). Every call runs on the caller’s JWT, and the wiki’s own RLS decides: a signed-in caller reads drafts too; only the author or a global admin writes an article. No service role.

Write, edit and publish articles on the DFL wiki.

list_wiki_articles

List dfl-wiki articles (wiki.devfellowship.com), newest update first, without the body.read

List Wiki Articles

List dfl-wiki articles (wiki.devfellowship.com), newest update first, without the body. Filters: status, visibility, a tag, a slug prefix, a title search. Each row carries its visibility. You see only the rows the wiki RLS lets you read. Who can read: public = anonymous readers when published; members = DFL members, the author and global admins; private = only the author and global admins. A draft that is not private is readable by DFL members (not by every signed-in account).

ParameterTypeRequiredDescription
statusenumnoOnly this status. One of: draft, published, archived.
visibilityenumnoOnly this visibility. One of: public, members, private.
tagstringnoOnly articles that carry this tag.
slug_prefixstringnoOnly slugs that start with this, e.g. "content-visual".
searchstringnoCase-insensitive match on the title.
project_idstringnoOnly articles of this work.projects id.
parent_slugstringnoOnly the direct children of this article (metadata.parent_slug)
limitnumbernoMax rows (default 50, max 200)

get_wiki_article

One dfl-wiki article by id or slug, with its markdown body, its content type, its status and its visibility.read

Get Wiki Article

One dfl-wiki article by id or slug, with its markdown body, its content type, its status and its visibility. Who can read: public = anonymous readers when published; members = DFL members, the author and global admins; private = only the author and global admins. A draft that is not private is readable by DFL members (not by every signed-in account).

ParameterTypeRequiredDescription
idstringnoArticle UUID (pass id OR slug)
slugstringnoArticle slug, as in wiki.devfellowship.com/a/<slug> (pass id OR slug)

create_wiki_article

Create a dfl-wiki article AS THE CALLER (author_id = you), as a DRAFT by default.write

Create Wiki Article

Create a dfl-wiki article AS THE CALLER (author_id = you), as a DRAFT by default. Same fields as the wiki create form. The slug defaults to the form's rule applied to the title. The content type defaults to "guide". Publish later with publish_wiki_article. visibility defaults to public (the database default). Who can read: public = anonymous readers when published; members = DFL members, the author and global admins; private = only the author and global admins. A draft that is not private is readable by DFL members (not by every signed-in account).

ParameterTypeRequiredDescription
titlestringyesArticle title.
slugstringnoURL slug (unique). Default: generated from the title.
contentstringnoMarkdown body (GFM)
excerptstringnoShort summary shown in lists.
content_type_idstringnowiki.content_types id (wins over content_type_slug)
content_type_slugstringnowiki.content_types slug, e.g. guide, feature, architecture. Default: guide.
project_idstringnowork.projects id to group the article under.
tagsstring[]noTags.
statusenumnoDefault: draft. One of: draft, published, archived.
visibilityenumnopublic | members | private. Default: public (omitted from the insert, so the database default applies) One of: public, members, private.
metadataobjectnoJSON object stored in wiki.articles.metadata. Known keys: parent_slug (slug of the parent article in the tree; validated: it must exist and must not make a cycle); master (boolean: this article is the entry of a knowledge tree, the wiki marks it as a master article); featured (boolean: show the article in the wiki home "Start here"). master and featured must be true or false; any other type is refused.

update_wiki_article

Change fields of a dfl-wiki article, by id or slug.write

Update Wiki Article

Change fields of a dfl-wiki article, by id or slug. Only the fields you pass change. The wiki lets only the author or a global admin write. The status changes with publish_wiki_article. metadata merges by default (see replace_metadata); renaming a slug does not rewrite children's parent_slug. visibility changes here (unchanged when omitted). Who can read: public = anonymous readers when published; members = DFL members, the author and global admins; private = only the author and global admins. A draft that is not private is readable by DFL members (not by every signed-in account).

ParameterTypeRequiredDescription
idstringnoArticle UUID (pass id OR slug)
slugstringnoArticle slug, as in wiki.devfellowship.com/a/<slug> (pass id OR slug)
titlestringno—
new_slugstringnoRename the slug (links to the old one break)
contentstringnoMarkdown body (replaces the whole body)
excerptstringno—
content_type_idstringno—
project_idstringnonull removes the project.
tagsstring[]noReplaces the tag list.
visibilityenumnopublic | members | private. Unchanged when omitted. One of: public, members, private.
metadataobjectnoMetadata patch. By default a shallow MERGE into the existing metadata: keys you pass win, keys you omit stay, a null value removes that key. parent_slug is validated (must exist, no cycle); master and featured must be booleans (or null to remove). Set replace_metadata to replace the whole object.
replace_metadatabooleannotrue: metadata REPLACES the existing object (keys you omit are dropped). Default false: merge.

publish_wiki_article

Set the status of a dfl-wiki article: published (default), draft or archived.write

Publish Wiki Article

Set the status of a dfl-wiki article: published (default), draft or archived. By id or slug; the author or a global admin only. The status does not change the visibility: a published article is readable by anonymous readers only when its visibility is public (set visibility with update_wiki_article). Who can read: public = anonymous readers when published; members = DFL members, the author and global admins; private = only the author and global admins. A draft that is not private is readable by DFL members (not by every signed-in account).

ParameterTypeRequiredDescription
idstringnoArticle UUID (pass id OR slug)
slugstringnoArticle slug, as in wiki.devfellowship.com/a/<slug> (pass id OR slug)
statusenumnoDefault: published. One of: draft, published, archived.

public.profiles.fellow_slug links a Thumbify fellows/<slug> folder to a DFL user. Both tools are admin only (global level >= 80): the tool refuses a lower caller before it reads or writes, and the RLS policy profiles_admin_update (iam.is_global_admin()) enforces the same rule in the database. Caller user-JWT, never service_role. These tools moved here from Platform (ops) (plan task T2.5).

Which Thumbify fellow folder belongs to which user.

set_profile_fellow_slug

Set or clear public.profiles.fellow_slug of ONE user: the Thumbify fellows/<slug> folder that belongs to that user.

Set Profile Fellow Slug

Set or clear public.profiles.fellow_slug of ONE user: the Thumbify fellows/<slug> folder that belongs to that user. Admin only (global IAM level >= 80): the tool refuses a lower caller before it touches anything, and RLS policy profiles_admin_update enforces the same rule in the database. Runs on YOUR JWT, never service_role. The slug is lowercase a-z, 0-9 and "-" (the DB CHECK). A slug maps to at most one user (partial unique index): if another user holds it, the tool returns outcome=slug_taken with that user id and writes nothing. null clears the slug. Use dry_run to see the change first. Read the current mapping with list_profile_fellow_slugs.

ParameterTypeRequiredDescription
user_idstringyespublic.profiles id (= auth.users id) of the user.
fellow_slugstringyesThe Thumbify fellows/<slug> folder name, e.g. "tainan". null clears it.
dry_runbooleannoResolve and report what would change, and write nothing. Default false.

list_profile_fellow_slugs

List every user that has a public.profiles.fellow_slug (the Thumbify fellows/<slug> folder mapping): user_id, name, fellow_slug, ordered by slug.read

List Profile Fellow Slugs

List every user that has a public.profiles.fellow_slug (the Thumbify fellows/<slug> folder mapping): user_id, name, fellow_slug, ordered by slug. Admin only (global IAM level >= 80), the same gate as set_profile_fellow_slug. Runs on YOUR JWT.

Takes no parameters.

Tools for TestMyAgent. Each call goes to the TestMyAgent API as you: the host exchanges your DFL login for a TestMyAgent session, and refuses a caller below DFL IAM level 50. The first words of each description name its group. READ spends nothing. SETUP creates or changes your own tasks, agents and custom models and starts no run. HOSTED is the path that runs on TestMyAgent infra; the quote spends nothing, a hosted start spends model credits. LOCAL runs on your own machine and spends nothing on TestMyAgent: use get_tma_local_run_setup for the commands, and upload only the numbers. Every evaluation and run read carries result_origin (hosted, self_declared or unknown). No tool takes or returns a model API key or a TestMyAgent session token.

TestMyAgent: read tasks, agents, model options, evaluations and run scores; create GitHub or local agents, custom models and your own tasks; price a hosted run, start or cancel one (web3 accounts only; web2 is local-only); get the commands of a local run and upload its self-declared result.

list_tma_tasks

READ — reads TestMyAgent data; spends nothing and starts no run.read

List TestMyAgent Tasks

READ — reads TestMyAgent data; spends nothing and starts no run. Lists the TestMyAgent task catalog: curated tasks, public user tasks and your own tasks. Filters: source (all | curated | mine), kind, runnable, tag (a tag id), q (text search). Each task says local_runnable (curated, or yours) and local_run_form (task = run by slug, task_dir = run from your own folder).

ParameterTypeRequiredDescription
sourceenumnoall (default) | curated | mine. One of: all, curated, mine.
kindstringnoTask kind filter.
runnablebooleannoOnly runnable (true) or only not runnable (false) tasks.
tagstringnoA tag id.
qstringnoText search on name, slug and description.
limitnumbernoAt most this many rows (default 50).

get_tma_task

READ — reads TestMyAgent data; spends nothing and starts no run.read

Get TestMyAgent Task

READ — reads TestMyAgent data; spends nothing and starts no run. One TestMyAgent task by id or slug: name, description, tags, latest version, runnable, local_runnable and local_run_form. With agent_id it also returns whether that agent is compatible with the task (missing MCP servers or tools).

ParameterTypeRequiredDescription
taskstringyesTask id (uuid) or slug, for example dfl-transcript-mining.
agent_idstringnoAn agent id, to check compatibility (uuid)

get_tma_task_validation

READ — reads TestMyAgent data; spends nothing and starts no run.read

Get TestMyAgent Task Validation

READ — reads TestMyAgent data; spends nothing and starts no run. The validation of a task you own: its status (queued, validating, passed, failed) and its report. Give validation_id (from create_tma_task_validation) or version (the validation of that task version).

ParameterTypeRequiredDescription
task_idstringyesTask id (uuid)
validation_idstringnoValidation id (uuid)
versionnumbernoTask version number.

list_tma_agents

READ — reads TestMyAgent data; spends nothing and starts no run.read

List TestMyAgent Agents

READ — reads TestMyAgent data; spends nothing and starts no run. Lists your TestMyAgent agents. Each agent has connector (github = can run hosted; local = runs only on your machine), provider and route (null when the agent has no declared value).

ParameterTypeRequiredDescription
limitnumbernoAt most this many rows (default 50).

get_tma_agent

READ — reads TestMyAgent data; spends nothing and starts no run.read

Get TestMyAgent Agent

READ — reads TestMyAgent data; spends nothing and starts no run. One of your TestMyAgent agents: connector, provider, route, model, repository pin. With include_results=true it also returns your results of this agent per task; each result carries result_origin (hosted | self_declared | unknown). For a local agent the results are its self-declared evaluations (the same rows as list_tma_evaluations scope=my_agents).

ParameterTypeRequiredDescription
agent_idstringyesAgent id (uuid)
include_resultsbooleannoAlso return your results of this agent (default false)

list_tma_model_options

READ — reads TestMyAgent data; spends nothing and starts no run.read

List TestMyAgent Model Options

READ — reads TestMyAgent data; spends nothing and starts no run. The enums for an agent's provider and model: providers (the lab keys, for the logo), routes (openrouter, opencode-go, ollama, …), the known models (id, label, provider, route) and your own custom models. Use the keys of this list in create_tma_local_agent and update_tma_agent; for a model that is not listed, create it first with create_tma_custom_model.

Takes no parameters.

list_tma_evaluations

READ — reads TestMyAgent data; spends nothing and starts no run.read

List TestMyAgent Evaluations

READ — reads TestMyAgent data; spends nothing and starts no run. Lists your TestMyAgent evaluations (newest first): agent, tasks, pass/fail counts, score, status. Each row carries result_origin (hosted = run on TestMyAgent; self_declared = uploaded from a local run, not verified; unknown = TestMyAgent did not say). Filters: scope (all | my_agents | others), origin (hosted | self_declared).

ParameterTypeRequiredDescription
scopeenumnoall (default) | my_agents | others. One of: all, my_agents, others.
originenumnoOnly rows of this result origin. One of: hosted, self_declared.
limitnumbernoAt most this many rows (default 50).

get_tma_evaluation

READ — reads TestMyAgent data; spends nothing and starts no run.read

Get TestMyAgent Evaluation

READ — reads TestMyAgent data; spends nothing and starts no run. One of your TestMyAgent evaluations: state, stages, per-task runs and scores, events and proofs. It carries result_origin; a self_declared evaluation was uploaded from a local run and was not run or verified by TestMyAgent.

ParameterTypeRequiredDescription
evaluation_idstringyesEvaluation id (uuid)

get_tma_run

READ — reads TestMyAgent data; spends nothing and starts no run.read

Get TestMyAgent Run

READ — reads TestMyAgent data; spends nothing and starts no run. One TestMyAgent run (one task of an evaluation): status, score and its parts, tokens, model cost. The owner sees the detail. It carries result_origin (hosted | self_declared | unknown).

ParameterTypeRequiredDescription
run_idstringyesRun id (uuid)

list_tma_run_actions

READ — reads TestMyAgent data; spends nothing and starts no run.read

List TestMyAgent Run Actions

READ — reads TestMyAgent data; spends nothing and starts no run. The sanitized action log of a HOSTED run (the agent's tool calls), 200 per page; pass after_seq = nextAfterSeq for the next page. A self-declared run has no log (numbers only): it returns actions [] with reason self_declared_no_logs.

ParameterTypeRequiredDescription
run_idstringyesRun id (uuid)
after_seqnumbernoReturn actions after this sequence number.

get_tma_hosted_evaluation_quote

HOSTED — quote only: this call spends nothing and starts no run.read

Get TestMyAgent Hosted Evaluation Quote

HOSTED — quote only: this call spends nothing and starts no run. It prices a HOSTED evaluation (runs on TestMyAgent infra, spends model credits when started). Returns the per-task and total model-cost estimate of a hosted evaluation of agent_id on task_ids, and a quote_token (valid 10 minutes) that create_tma_hosted_evaluation needs for a real start of the SAME agent and tasks. Hosted evaluations are for the TestMyAgent web3 app only: a web2 (Login with DFL) caller, which is every caller of this host, gets code hosted_not_available_web2, with no estimate and no quote_token. Do NOT use this for a local run: use get_tma_local_run_setup and create_tma_local_result.

ParameterTypeRequiredDescription
agent_idstringyesAgent id (a github agent; a local agent cannot run hosted) (uuid)
task_idsstring[]yes1 to 9 task ids or slugs.
model_releasestringnoA model release of the agent model, if the agent pins one.

get_tma_local_run_setup

LOCAL — spends nothing on TestMyAgent; the run happens on your own machine.read

Get TestMyAgent Local Run Setup

LOCAL — spends nothing on TestMyAgent; the run happens on your own machine. This never starts a run on TestMyAgent and never spends credits. Returns the exact tma CLI commands to run a task with your agent on YOUR machine (mode sandbox: the TestMyAgent sandbox runs the agent with your key; mode own_harness: your harness edits a workspace, the CLI grades it), the env var NAMES you set (never values), the CLI version, and the next tool: create_tma_local_result with the result file. Give task (a curated task or your own) or task_dir_name (a private task folder that never leaves your machine).

ParameterTypeRequiredDescription
agent_idstringyesYour agent id (local or github) (uuid)
taskstringnoTask id (uuid) or slug, for example dfl-transcript-mining.
task_dir_namestringnoThe name of your own task folder (relative to where you run the CLI)
modeenumnosandbox (default) | own_harness. One of: sandbox, own_harness.

create_tma_task

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Create TestMyAgent Task

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Creates your own TestMyAgent task from a task folder (task.json, instruction.md, environment/, tests/, solution/) in a GitHub repository, pinned at a commit. The repository needs the TestMyAgent GitHub App: if it is not installed, the answer has code github_app_not_installed and details.install_url. Then call create_tma_task_validation to run the validation gate.

ParameterTypeRequiredDescription
repo_full_namestringyesGitHub repository, owner/repo.
pathstringnoFolder of the task in the repository (default: the root)
branchstringnoBranch (default: the default branch)
commit_shastringnoCommit SHA to pin (default: the branch HEAD)
namestringnoTask name, at most 60 characters.
descriptionstringnoTask description, at most 120 characters.
tagsstring[]noAt most 8 tag ids.
est_minutesnumbernoEstimated minutes, 1 to 120.

update_tma_task

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Update TestMyAgent Task

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Changes the name, description, tags or estimated minutes of one of your TestMyAgent tasks. A new commit is create_tma_task_version, not this tool. While the task is validating, TestMyAgent refuses with code task_validating (409): read get_tma_task_validation and try again when it ends.

ParameterTypeRequiredDescription
task_idstringyesYour task id (uuid)
namestringnoTask name, at most 60 characters.
descriptionstringnoTask description, at most 120 characters.
tagsstring[]noAt most 8 tag ids.
est_minutesnumbernoEstimated minutes, 1 to 120.

create_tma_task_version

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Create TestMyAgent Task Version

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Pins a new version of one of your TestMyAgent tasks at a new commit (default: the HEAD of the branch of the latest version). TestMyAgent makes a new version only when the task folder changed: else it answers unchanged: true with the current version. Refused with task_validating (409) while the task validates.

ParameterTypeRequiredDescription
task_idstringyesYour task id (uuid)
commit_shastringnoCommit SHA to pin (default: the branch HEAD)
branchstringnoBranch (default: the default branch)

create_tma_task_validation

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Create TestMyAgent Task Validation

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Queues the validation gate of one of your TestMyAgent tasks (the latest version, or the given version): TestMyAgent runs the reference solution and the tests, with no model call. Returns validationId at once (202); read the outcome with get_tma_task_validation. A task must pass validation before an evaluation can run it.

ParameterTypeRequiredDescription
task_idstringyesYour task id (uuid)
versionnumbernoTask version number (default: the latest version)

create_tma_github_agent

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Create TestMyAgent GitHub Agent

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Creates a TestMyAgent agent from a folder with AGENTS.md or CLAUDE.md in a GitHub repository, pinned at a commit. This is the agent kind that can run HOSTED evaluations (on TestMyAgent infra). The model must be in the hosted allow-list. The repository needs the TestMyAgent GitHub App: else the answer has code github_app_not_installed and details.install_url. For an agent that runs only on your own machine, use create_tma_local_agent.

ParameterTypeRequiredDescription
repo_full_namestringyesGitHub repository, owner/repo.
agent_pathstringnoFolder of the agent in the repository (default: the root)
modelstringnoThe model id (default: the TestMyAgent default model)
namestringnoAgent name (default: repo/path)
branchstringnoBranch (default: the default branch)
commit_shastringnoCommit SHA to pin (default: the branch HEAD)
model_releasestringnoA model release id.
descriptionstringnoAt most 90 characters.
visibilityenumnoprivate | listed. One of: private, listed.
requiresstring[]noMCP servers or built-in tools the agent needs from a task.
samplebooleannotrue: a TestMyAgent sample repository (no GitHub App needed)

create_tma_local_agent

LOCAL — spends nothing on TestMyAgent; the run happens on your own machine.write

Create TestMyAgent Local Agent

LOCAL — spends nothing on TestMyAgent; the run happens on your own machine. This never starts a run on TestMyAgent and never spends credits. SETUP: creates a TestMyAgent agent with no repository (connector local), with the provider, model and route that you declare, so its page shows the right logo. Take provider_key, route_key and model_id from list_tma_model_options (a model that is not listed: create_tma_custom_model first). A local agent runs only on your own machine (get_tma_local_run_setup, then create_tma_local_result) and cannot start a hosted evaluation.

ParameterTypeRequiredDescription
namestringyesAgent name, unique among your agents.
provider_keystringnoA provider key from list_tma_model_options (the lab: anthropic, openai, deepseek, …)
model_idstringyesThe model id, for example anthropic/claude-sonnet-4.6 or opencode-go/deepseek/deepseek-v4.
route_keystringyesA route key from list_tma_model_options (openrouter, opencode-go, ollama, …)
harnessstringnoYour harness and version, for example "opencode 1.18.31".
descriptionstringnoAt most 90 characters.
visibilityenumnoprivate | listed. One of: private, listed.
requiresstring[]noMCP servers or built-in tools the agent needs from a task.

update_tma_agent

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Update TestMyAgent Agent

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Changes one of your TestMyAgent agents. A local agent: name, description, model_id, provider_key, route_key, harness, visibility, requires. A GitHub agent: model_id (hosted allow-list) and requires only; a new commit is a new agent pin. provider_key and route_key must be in list_tma_model_options.

ParameterTypeRequiredDescription
agent_idstringyesYour agent id (uuid)
namestringno—
descriptionstringno—
model_idstringnoA model of list_tma_model_options, or one of your custom models.
provider_keystringnoA provider key from list_tma_model_options (the lab: anthropic, openai, deepseek, …)
route_keystringnoA route key from list_tma_model_options (openrouter, opencode-go, ollama, …)
harnessstringno—
visibilityenumnoprivate | listed. One of: private, listed.
requiresstring[]noMCP servers or built-in tools the agent needs from a task.

create_tma_custom_model

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Create TestMyAgent Custom Model

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. Adds a model that is not in list_tma_model_options to YOUR TestMyAgent tenant, so a local agent can declare it. It is visible only to you and never enters the public model list or rankings (at most 50 per user). Give provider_key (a known lab) or provider_label (your own provider name), not both. A model id that is already known is refused (known_model): use it as is.

ParameterTypeRequiredDescription
model_idstringyesThe model id, for example acme/mystery-7b.
labelstringyesDisplay name, at most 60 characters.
provider_keystringnoA provider key from list_tma_model_options (the lab: anthropic, openai, deepseek, …)
provider_labelstringnoA custom provider name, at most 40 characters.
route_keystringyesA route key from list_tma_model_options (openrouter, opencode-go, ollama, …)

create_tma_local_result

LOCAL — spends nothing on TestMyAgent; the run happens on your own machine.write

Upload TestMyAgent Local Result

LOCAL — spends nothing on TestMyAgent; the run happens on your own machine. This never starts a run on TestMyAgent and never spends credits. Uploads the numbers of a run that you did on your own machine: the tma-local-result/1, tma-local-result/2 or tma-local-result/3 file that tma run or tma grade wrote (see get_tma_local_run_setup). TestMyAgent stores it as a SELF-DECLARED result: it did not run it and does not verify it, and every page and read shows that. The file holds numbers and ids only; an unknown key is refused with code unknown_key and its JSON path. A v1 file is at most 1 MiB. A tma-local-result/2 file adds the test case, the agent variant (a base agent version plus one diff, independent of the case), the comparison (one baseline per case), every run, the grader results and the structural trajectory (a step list with digests and no text); it is at most 4 MiB, and its answer adds case_id, variant_id, run_ids and the per-run counts. If TestMyAgent has not applied the result-store migration yet, a v2 upload answers code schema_not_ready (nothing written) and the same run still uploads as tma-local-result/1. A tma-local-result/3 file is tma-local-result/2 plus the task summary (case.task_summary: before and expected), the grader proof and calibration (with note, author, labeler and reason_code) and the step kinds of tma-trajectory/2 in each run; it has the same 4 MiB limit and the same answer fields. A tma-local-result/2 file that carries a tma-local-result/3-only field is refused by TestMyAgent with unknown_key. If migration 0024 is missing, a tma-local-result/3 upload answers schema_not_ready (nothing written) and the same run still uploads as tma-local-result/2 or tma-local-result/1. The upload is idempotent: the same file again answers action "unchanged". dry_run: true runs every check and writes nothing.

ParameterTypeRequiredDescription
resultobjectyesThe tma-local-result/1, tma-local-result/2 or tma-local-result/3 JSON object, exactly as the tma CLI wrote it (format, agent_id, task, summary, runs, …)
dry_runbooleannotrue: run every TestMyAgent check, then write nothing (default false)

delete_tma_unused_eval_rows

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Delete Unused TestMyAgent Eval Rows

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. It DELETES clean-up rows: your own test cases and agent variants that no run references, and, for a TestMyAgent admin only, grader versions that no grading references (for example what an upload leaves behind after you delete its evaluation). It never deletes a row that a run points at, a variant that is still the baseline of a case that stays, a grader version with a grading or with judge or calibration fields, or a row of another user: those come back in refused with a reason (not_found, referenced_by_runs, baseline_of_case, referenced_by_grader_results, grader_has_calibration, admin_only). dry_run is TRUE by default and deletes nothing. With no ids it lists what you could delete; a real delete (dry_run false) must name its ids. Delete a test case and its baseline variant in the same call to release the variant. The grader registry has no owner yet, so a grader version id from a caller who is not a TestMyAgent admin is refused with admin_only and never listed. A deleted grader version is created again by the next upload that uses it.

ParameterTypeRequiredDescription
case_idsstring[]noTest case ids to delete (uuids, at most 200)
variant_idsstring[]noAgent variant ids to delete (uuids, at most 200)
grader_version_idsstring[]noGrader version ids to delete (uuids, at most 200)
dry_runbooleannotrue (default): list what would be deleted and delete nothing. false: delete the rows that pass every guard.
allow_calibratedbooleannoTestMyAgent admin only (TMA API PR #217). true: a grader version with judge or calibration fields may also be deleted, still only when no grading points at it. A non-admin caller gets admin_only. Leave it out to keep the bare-only rule.

update_tma_derived_columns

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing.write

Recompute TestMyAgent Derived Columns

SETUP — creates or changes TestMyAgent setup; starts no run and spends nothing. It recomputes a DERIVED column of stored TestMyAgent rows from what the row already holds, and fills only an EMPTY value: a value that is set is never changed, so a second call changes nothing. column step_kind: the step kind (read, search, write, test, mcp, shell, agent, other) of each tool call of a HOSTED run, from its tool and target, for the rows written before the step kind existed. Uploaded (self-declared) runs are not touched. scope mine (default): your own runs. scope all: every owner, for a TestMyAgent admin only (else admin_only). dry_run is TRUE by default and changes nothing: it returns scanned (the empty rows read), by_kind and remaining. limit (default 5000, at most 20000) caps one call; call again while remaining is above 0.

ParameterTypeRequiredDescription
columnenumyesThe derived column to recompute. Today: step_kind (run_actions of hosted runs). One of: step_kind.
dry_runbooleannotrue (default): count what would change and change nothing. false: write the empty values.
scopeenumnomine (default): your own runs. all: every owner (TestMyAgent admin only). One of: mine, all.
limitnumbernoAt most this many rows in one call (default 5000).

create_tma_hosted_evaluation

HOSTED — spends model credits on TestMyAgent infra.write

Create TestMyAgent Hosted Evaluation

HOSTED — spends model credits on TestMyAgent infra. Do NOT use this for a local run: use get_tma_local_run_setup and create_tma_local_result. Starts the runs of a HOSTED evaluation of agent_id on task_ids, on TestMyAgent infra. Hosted evaluations are for the TestMyAgent web3 app only: a web2 (Login with DFL) caller, which is every caller of this host, gets code hosted_not_available_web2. dry_run defaults to true: a dry run prices the evaluation and returns a quote_token (10 minutes), and starts nothing. A real start (dry_run: false) needs that quote_token for the SAME agent and tasks AND max_cost_usd; it is refused when the estimate is unknown or above max_cost_usd, above US$1.5 per evaluation, above 3 tasks, or above 10 runs per actor per day.

ParameterTypeRequiredDescription
agent_idstringyesAgent id (a github agent; a local agent cannot run hosted) (uuid)
task_idsstring[]yes1 to 9 task ids or slugs.
model_releasestringnoA model release of the agent model, if the agent pins one.
dry_runbooleannotrue (DEFAULT): price only, start nothing, return a quote_token. false: really start the runs.
quote_tokenstringnoRequired when dry_run is false: the quote_token of a dry run of the SAME request.
max_cost_usdnumbernoRequired when dry_run is false: refuse when the estimate is above this many USD.

close_tma_hosted_evaluation

HOSTED — cancels the queued runs of a hosted evaluation; spends nothing.write

Close TestMyAgent Hosted Evaluation

HOSTED — cancels the queued runs of a hosted evaluation; spends nothing. Do NOT use this for a local run: use get_tma_local_run_setup and create_tma_local_result. Cancels the queued runs of one of YOUR hosted evaluations. A run that already started finishes; there is no refund. A graded, issued or failed evaluation has nothing to cancel (code http_409).

ParameterTypeRequiredDescription
evaluation_idstringyesEvaluation id (uuid)

See which actor, OAuth client and scope this connection uses on this host.

get_current_actor

Returns who this MCP session acts as on this host: actor {id, slug, display_name, type}, client {id, name} (the OAuth client; name is null when the provider does not show it), scope ("read" or "read+write"), and source.read

Get Current Actor

Returns who this MCP session acts as on this host: actor {id, slug, display_name, type}, client {id, name} (the OAuth client; name is null when the provider does not show it), scope ("read" or "read+write"), and source. source "oauth_grant": an OAuth session, the actor is the grant actor (null when the grant has no actor, which makes the session read-only). source "agent_login": a first-party dfl-auth login of an agent user; the actor is that user's own agent actor, client and scope are null. source "first_party_login": a first-party login with no own agent actor (a human user); all three are null. source "unresolved": this host could not resolve the actor. Read-only.

Takes no parameters.

docs tools learn 15 domains published